Bug 55542

Summary: View in Master Content Page stops loading ListView in Detail
Product: Forms Reporter: Gerco Brandwijk <mail>
Component: AndroidAssignee: Jimmy [MSFT] <jimmy.garrido>
Severity: normal CC: jas, jimmy.garrido, rui.marinho, v-sapaun
Priority: ---    
Version: 2.3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Tags: android masterdetailpage view Is this bug a regression?: Yes
Last known good build:
Attachments: Sample project
Attached are the logs generated during defect reproduction(Reopen)

Description Gerco Brandwijk 2017-04-25 07:15:19 UTC
Created attachment 21742 [details]
Sample project

I am using the following configuration:

Default MasterDetailPage
- Master: MenuPage (some Label en some other views) based on ContentPage
- Detail: NavigationPage with BookingsPage (ListView) (based on ContentPage)

In the MenuPage I used a View to create a horizontal line, like this:
      <View HorizontalOptions="FillAndExpand"
            HeightRequest="1" />

After upgrading to 2.3.4 suddenly my ListView in the BookingsPage was not loading. I did a lot of investigation, and I found out that that View in the MenuPage was the problem. When I replaced the <View> with a <BoxView> it worked again! So I replaced the <View> with this:

      <BoxView HorizontalOptions="FillAndExpand"
            HeightRequest="1" />

I did not get any error, it was just not loading. When I displayed the BookingsPage as the Master, and the MenuPage inside the NavigationPage as the Detail, it was also working, so it looks like a combination of a <View> element that is used in the Master part of a MasterDetailPage.

You can reproduce this issue with the attached project. This project is the project that you get when you start a new Cross Platform project (PCL) with Visual Studio, so very basic stuff. In the AboutPage.xaml I added the <View> on line 47. When you leave this here, you will see that the ItemsPage will not load correctly, when you comment line 47, you will see that ItemsPage will load correctly.
Comment 1 Jimmy [MSFT] 2017-04-25 18:24:15 UTC
I am also seeing this issue when I run the attached project on Android. The issue does not occur on iOS. I am confirming this report so the team can investigate further.

### Workaround
As mentioned in the description, using a BoxView instead of a View will resolve the issue.

### Regression Test
2.3.5-pre1  BAD   BAD   GOOD
Comment 3 Rui Marinho 2017-05-04 14:29:14 UTC
Should be fixed on 2.3.5-pre3 and if we do a SR for 2.3.4
Comment 7 Saurabh Paunikar 2017-07-12 06:27:33 UTC
Verified on Xamarin.form version

ScreenCast : https://www.screencast.com/t/avwCXLYPvAHA