Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Conversation

@hartez
Copy link
Contributor

@hartez hartez commented Jul 12, 2017

Description of Change

Now handles fragment removal inside of the RemovePage method rather than leaving it pending for SwitchContentAsync to deal with later.

Bugs Fixed

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard
  • Consolidate commits as makes sense

@hartez hartez changed the title Fix bugzilla53179 2 [Android] Handle fragment removal inside of the RemovePage method Jul 12, 2017
Copy link
Contributor

@samhouts samhouts left a 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)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Binary issue numbers now?

Copy link
Contributor

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." };
Copy link
Contributor

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)
Copy link
Contributor

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...

@jassmith jassmith merged commit 6de1c5c into master Jul 19, 2017
jassmith pushed a commit that referenced this pull request Jul 25, 2017
)

* Repro

* Handle fragment removal inside of RemovePage method

* Fix class name for test

* Split long strings
jassmith pushed a commit that referenced this pull request Aug 2, 2017
)

* Repro

* Handle fragment removal inside of RemovePage method

* Fix class name for test

* Split long strings
@hartez hartez deleted the fix-bugzilla53179-2 branch September 5, 2017 16:40
@samhouts samhouts added this to the 2.5.0 milestone May 5, 2018
@samhouts samhouts modified the milestones: 2.5.0, 2.4.0, 2.3.4 Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants