-
Notifications
You must be signed in to change notification settings - Fork 52
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] Fix back button crash + Cleanup #14
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't
backPressedHandler
parameter be removed then, if it's never used? Why did we need it in the first place?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this is why i made a PR ahaha.
So as far as im aware, if i keep that invoke in it makes an endless loop which crashes the system.
I think the original intention is to provide extra functionality on top.
The apphostbuilder area seems to be the only place this is registered, so perhaps we instead need to move that custom functionality to there somehow?
I'm on mobile, but i'll give this another shakedown, i need to learn more about apphostbuilder instead of just throwing everything at it and seeing what sticks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
backPressedHandler
is not passed,backPressedHandler?.Invoke();
won't do anything, right? So the problem might be in the value this is passed inbackPressedHandler
, and not in the parameter itself.