Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Android App Compat] Can opt out of sending Appearing/Disappearing events on Resume/Pause #450
Description of Change
Added Platform Specific feature to Android AppCompat that will allow users to disable Appearing and/or Disappearing events on Resume and Pause, respectively. Disabling these events will make the AppCompat event cycle match the pre-AppCompat event cycle. Events are enabled by default to preserve existing behavior for apps that rely on the events.
Users can disable the events using the following code:
There is a manual test for this.
This is actually pretty cool. I could disable this feature and match the behavior to iOS. I raised a bug recently that concerns content pages as root (https://bugzilla.xamarin.com/show_bug.cgi?id=44855). When the fix is in place, it should be aware of this option.