Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android OverridePendingTransition freeze screen #4267

Open
ginger-777 opened this issue Sep 16, 2021 · 3 comments
Open

Android OverridePendingTransition freeze screen #4267

ginger-777 opened this issue Sep 16, 2021 · 3 comments
Labels
s/needs-more-info Needs more information from the reporter

Comments

@ginger-777
Copy link

ginger-777 commented Sep 16, 2021

When calling OverridePendingTransition in ShowActivity it freezes the screen.
Also, animation of navigation does not work

MvvmCross v 8.0.2

This construction worked properly in 7.1.2 version

protected override Task<bool> ShowActivity(Type view, MvxActivityPresentationAttribute attribute, MvxViewModelRequest request) { var result = base.ShowActivity(view, attribute, request); CurrentActivity.OverridePendingTransition(Resource.Animator.fragment_close_enter, resource.Animator.fragment_close_exit); return result; }

@Cheesebaron Cheesebaron added the s/needs-more-info Needs more information from the reporter label Sep 21, 2021
@Cheesebaron
Copy link
Member

Need more information here. Does this freeze lead to a crash? Any debug or logcat info to go off?

Could you also please use the issue template.

@ginger-777
Copy link
Author

App just freezes, no crash.
It seems that navigation is completed but on a screen displayed the previous page and it's frozen.

Animation also does not work

Some logs

I/Timeline: Timeline: Activity_launch_request time:630076879
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@ba28fb9
W/Looper: Slow Looper: doFrame is 406ms late because of 4 msg, msg 3 took 404ms (late=11ms h=android.app.ActivityThread$H c=android.app.LoadedApk$ServiceDispatcher$RunConnection)

W/Activity: Slow Operation: Activity app_bundle/crc6465ec864e98ecfa3d.Activity_Where_Navigate_To_Name onResume took 108ms

@ginger-777
Copy link
Author

ginger-777 commented Oct 8, 2021

@Cheesebaron ,
I added some details
Maybe, now you have some suggestions what can it be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s/needs-more-info Needs more information from the reporter
Development

No branches or pull requests

2 participants