I am on developing something like a tag view in Xamarin.Forms, using the RelativeLayout. I have multiple elements that I want to put side-by-side until an element is not completely fitting to the parent. Then I want to put this to the next line. Here is my problem: Within the lambda for the RelativeToView constraint I don't have the current element (supposedly it is not rendered) and therefore I cannot calculate the expected size to make this decision.
How can I solve this problem?