I am trying to implement MVVM in my Xamarin.Forms project.
This is my StackLayout
with x:Name
<StackLayout x:Name="approvalsStack"></StackLayout>
And This is how I am populating Children
in this StackLayout
StackLayout stack = new StackLayout();
Frame frame = new Frame { BorderColor = Color.LightGray };
frame.Content = new Label { Text = a.FullName + " (" + a.Decision + ")" + " " + a.DecisionDate.ToString() };
stack.Children.Add(frame);
approvalsStack.Children.Add(stack);
Now I am stuck, How can I populate the children using ViewModel/Binding.