Skip to content

AndroidMopups: GetTopFragmentDecorView may return a fragment about to be dismissed#164

Open
EmilienDup wants to merge 1 commit intoLuckyDucko:masterfrom
snagr:fix/GetTopGetTopFragmentDecorView
Open

AndroidMopups: GetTopFragmentDecorView may return a fragment about to be dismissed#164
EmilienDup wants to merge 1 commit intoLuckyDucko:masterfrom
snagr:fix/GetTopGetTopFragmentDecorView

Conversation

@EmilienDup
Copy link

When pushing a pop up, we need to make sure the view is not added to a FrameLayout about to be dismissed.

An easy way is to apply all FragmentManager's pending transactions prior to getting the top fragment view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant