[Android] Fix: Modal Animation Repeats When Returning from Background 2#29557
[Android] Fix: Modal Animation Repeats When Returning from Background 2#29557PureWeen merged 7 commits intodotnet:inflight/currentfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
|
||
| #pragma warning disable CS0618 // TODO: Remove when we internalize/replace MessagingCenter | ||
| if (value) | ||
| MessagingCenter.Send(this, CloseContextActionsSignalName); |
There was a problem hiding this comment.
I believe this was originally intended for
which clearly isn’t subscribing anymore.
And since ListView is about to be kicked out of the house, I’m removing it.
|
On the after, the first time that you reopen the app I could see an animation very fast, and after that no more. Not sure if it's something that shiuld be fixed or we can ignore. It's definitely better than before |
|
Thanks to @PureWeen 's suggestion, I think now animation works perfectly in all cases. anim.mov |
Yeah I noticed that too.. But i don't think it's related to animation we set.. because same thing can be seen if we do PushModalAsync(false) |
|
/azp run |
|
|
|
It seems , using |
… 2 (#29557) * [Android] clean up modalnavigationmanager * fix failing tests * Handle animation while poping * subscribe to event before showing dailog * change style's names * apply new styles * set result to tcs once dailog dismiss
… 2 (#29557) * [Android] clean up modalnavigationmanager * fix failing tests * Handle animation while poping * subscribe to event before showing dailog * change style's names * apply new styles * set result to tcs once dailog dismiss
… 2 (#29557) * [Android] clean up modalnavigationmanager * fix failing tests * Handle animation while poping * subscribe to event before showing dailog * change style's names * apply new styles * set result to tcs once dailog dismiss



Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
This is an alternative (and improved) approach to #28538 and #28522.
As suggested by @PureWeen, a new animation style has been added, and the previous animation logic has been cleaned up.
before_fix.mov
new_fix.mov
Issues Fixed
Fixes #28492