Bug 43774 - Appearing does not trigger for the first time for Tabpages in Android
Summary: Appearing does not trigger for the first time for Tabpages in Android
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.1
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-26 06:44 UTC by Prashant [MSFT]
Modified: 2016-09-21 18:58 UTC (History)
7 users (show)

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


Attachments
Testcase (44.69 KB, application/zip)
2016-08-26 06:44 UTC, Prashant [MSFT]
Details


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:
VERIFIED FIXED

Description Prashant [MSFT] 2016-08-26 06:44:15 UTC
Created attachment 17217 [details]
Testcase

The Appearing method does not trigger for the first time when we switch the tabs.

#Steps to reproduce

1. Create a Forms app with Tabpage with two tabs
2. Wire `Appearing` event for tab pages
3. Run the app
Appearing event is triggered for both tab pages for the first time
4. Switch to tab two, Appearing event for tab two is not trigger

When the app load we cannot determine what tab is visible, note that this happens only on Android
Comment 1 Marius Kahmen 2016-08-29 15:57:58 UTC
I can confirm this for XForms 2.3.1.114

Here's a small sample:
https://github.com/MKahmen/TabbedPageTest
Comment 2 adrianknight89 2016-09-12 18:41:18 UTC
Referencing: https://bugzilla.xamarin.com/show_bug.cgi?id=44211
Comment 3 Paul DiPietro [MSFT] 2016-09-13 16:54:17 UTC
This should be fixed for an upcoming version; the other issue involving Appearing firing twice does still exist.
Comment 4 Parmendra Kumar 2016-09-21 18:58:56 UTC
I have checked this issue with Forms version 2.3.3.152-pre2 and observed that this issue has been fixed.

Hence closing this issue.

Thanks.