I have a page with some labels, a picture and a listview. My contents are long so I'm using a scrollview to wrap all the contents. While doing so the items in the list start to disappear, it's like they don't render. The same code works fine on iOS. I have attached screenshots to explain what's happening. Any kind of help is appreciated.
if (Device.OS == TargetPlatform.iOS || Device.OS == TargetPlatform.WinPhone)
{
StackLayout PageUI = new StackLayout
{
VerticalOptions = LayoutOptions.Start,
Children =
{
EntityTitleLabel,
new StackLayout
{
Padding = new Thickness (0, -7, 8, 0),
Spacing = -1,
Children =
{
EntityGroupHeaderLabel,
},
},
EntityImage,
EntityDescriptionLabel,
detailListView, // <== LISTVIEW DOING WEIRD STUFF
},
};
//=====================================SCROLL=========================================================
ScrollView ContentPanel = new ScrollView { Padding = 10, Content = PageUI };