Join Slack
but its when i press back button
# android
c
CarlosBlanco
03/07/2019, 10:32 PM
but its when i press back button
a
Allan Wang
03/07/2019, 10:34 PM
You didn’t post a log and I don’t know where that block of code is. If you’re calling it during
onBackPressed
that could be the problem. Basically, you should get a line number, and it’s likely because you are asserting that something is nonnull (!!).
c
CarlosBlanco
03/07/2019, 10:35 PM
ok check this
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by