Bug 40424 - ListView not rendering on first load (Xamarin Forms Android)
Summary: ListView not rendering on first load (Xamarin Forms Android)
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.0.0
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-04-15 05:57 UTC by Fulvio
Modified: 2017-06-19 17:45 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Fulvio 2016-04-15 05:57:55 UTC
This is the architecture of the application:

The MainPage is set to a MasterDetailPage (MDP).

The Detail of the MDP is set to a ContentPage, in which the Content is then set to a CustomMap, which inherits from a View that has a custom MapViewRenderer, which inherits from a ViewRender<CustomMap, MapView>.

The Master of the MDP is set to a NavigationPage which has a ContentPage. This ContentPage's Content is set to a View, which controls the Icons that you see in the demo application, which essentially make it look and behave like a TabbedPage in iOS.

The tabs allow us to render ContentPages that then have the ListView and associated controls (Search, etc).

When loading a ContentPage for the first time the ListView results do not appear. When navigating away from the ContentPage and back again the results then appear just fine.

A Screencast of this issue can be found here:

http://www.screencast.com/users/FulvioCusumano/folders/Default/media/8441f7a6-644a-4347-8f77-d1ee2a149504
Comment 1 Paul DiPietro [MSFT] 2016-04-18 19:59:51 UTC
We'd be happy to help you resolve this issue. Please help us by attaching a reduced reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue. If you'd do this for us we would very much appreciate it. If you are able to reproduce the issue without modifying the platform specific projects that would eliminate a number of possibilities and likely expedite a resolution. 


Warm regards,
Xamarin Forms Team
Comment 2 Paul DiPietro [MSFT] 2017-06-19 17:45:10 UTC
This issue will be closed due to a lack of response. Please reopen this and attach a minimized reproduction project if the issue still exists as of the latest prerelease or nightly build.

Thanks!