Bug 44999 - Android Holo ListView jumps after switching tabs
Summary: Android Holo ListView jumps after switching tabs
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.2
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Samantha Houts [MSFT]
Depends on:
Reported: 2016-10-04 08:36 UTC by kris
Modified: 2017-06-19 21:11 UTC (History)
4 users (show)

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

Project with bug (160.24 KB, application/x-zip-compressed)
2016-10-04 08:36 UTC, kris

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:

Description kris 2016-10-04 08:36:25 UTC
Created attachment 17856 [details]
Project with bug

See example project attached.

When there are multiple pages containing ListView in a TabbedPage:
1. Go to the second tab
2. Scroll down, notice the scroll position
3. Go to the first tab, scroll
4. Go back to the second tab
5. Scroll down, the scroll jumps to the beginning

It starts working as expected after you select an item.

This does not happen on iOS.
Comment 1 Paul DiPietro [MSFT] 2017-01-04 01:39:50 UTC
The project actually crashes for me using the latest stable when attempting to scroll on the first page at the third step (I can scroll on the first page and then move to the second, but it will crash upon returning to the first). Going to set to confirmed for now so it can be looked into.
Comment 2 Samantha Houts [MSFT] 2017-05-25 22:14:42 UTC
I don't see a crash with latest stable as of now (2.3.4). 

This behavior seems to be present only in FormsApplicationActivity. @kris, can you update to FormsAppCompatActivity and confirm whether this issue is still present for you?

Thank you!
Comment 3 Rui Marinho 2017-06-19 21:11:46 UTC
Because we have not received a reply to our request for more information we are
closing this issue. If you are still encountering this issue, please reopen the
ticket with the requested information. Thanks!