-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Android] Handle fragment removal inside of the RemovePage method #1053
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested! Works great.
| #endif | ||
|
|
||
| [Preserve(AllMembers = true)] | ||
| [Issue(IssueTracker.None, 0101100101, "PopAsync crashing after RemovePage when support packages are updated to 25.1.1", PlatformAffected.Android)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Binary issue numbers now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be simplified to 101100101
| { | ||
| var test = new Button { Text = StartTest }; | ||
|
|
||
| var instructions = new Label {Text = $"Tap the button labeled '{StartTest}'. The app should navigate to a page displaying the label '{RootLabel}'. If the application crashes, the test has failed." }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What, if any, column length limits do/could/should we have?
|
|
||
| // This causes a NullPointerException in API 25.1+ when we later call ExecutePendingTransactions(); | ||
| // We may want to remove this in the future if it is resolved in the Android SDK. | ||
| if ((int)Build.VERSION.SdkInt < 25) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ick. Nice to see this go...
Description of Change
Now handles fragment removal inside of the
RemovePagemethod rather than leaving it pending forSwitchContentAsyncto deal with later.Bugs Fixed
API Changes
None
Behavioral Changes
None
PR Checklist