Skip to content

AndroidMopups: GetTopFragmentDecorView CurrentActivity may be null#160

Open
Pavesi99 wants to merge 5 commits intoLuckyDucko:masterfrom
Pavesi99:Pavesi99-patch-1
Open

AndroidMopups: GetTopFragmentDecorView CurrentActivity may be null#160
Pavesi99 wants to merge 5 commits intoLuckyDucko:masterfrom
Pavesi99:Pavesi99-patch-1

Conversation

@Pavesi99
Copy link

@Pavesi99 Pavesi99 commented May 28, 2025

Added a loop with 5 attempts to fixe issue on GetTopFragmentDecorView where CurrentActivity is null after attach a file
#162

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a delay in navigation on Android by revising the asynchronous handling of fragment decor views for popup pages. Key changes include:

  • Implementing an async retry mechanism when retrieving the top fragment decor view.
  • Updating AddAsync and RemoveAsync methods to use the new asynchronous retrieval logic.
  • Removing unused static variables from the implementation.

Pavesi99 and others added 3 commits June 17, 2025 10:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
adding comments
@Pavesi99
Copy link
Author

@LuckyDucko I added the required changes, please review and approve.

@Pavesi99 Pavesi99 changed the title Pavesi99 patch 1 AndroidMopups: GetTopFragmentDecorView CurrentActivity may be null Jul 1, 2025
@Pavesi99
Copy link
Author

Pavesi99 commented Jul 8, 2025

Hi @LuckyDucko does it look good?

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