-
Notifications
You must be signed in to change notification settings - Fork 55
Crash when saving state with Jetpack Navigation components #11
Comments
Hmm, I'm unable to reproduce this on stock Android. |
will try to do it on stock 7.1.2 |
ok same problem on emulator api 27 press the fab |
The only error I see is totally unrelated to Assent:
Still looking - but your sample does not support all Android versions. |
please try it on api 27 not 28 i must have missed something |
Got it:
Unfortunately right now, I have no idea what could cause this or how to fix it |
Greetings. I'm also having this exact problem. Basically I'm launching the camera app with an intent and right as I launch it I get the same exception. I'm guessing it might have something to do with the new Jetpack Navigation component. First time using it in and I didn't have this problem before. I know it's not much but hope it helped a little and you can resolve it. Your library is kickass .
|
Library Version:
2.2.3
Affected Device(s):
XIAOMI note 3 android 7.1.2
Describe the Bug:
To Reproduce:
runWithPermissions(Permission.WRITE_EXTERNAL_STORAGE) { doSomeStuff()}
override fun onSaveInstanceState(outState: Bundle) { super.onSaveInstanceState(outState) // Save recycler view state outState.putParcelable("LIST_STATE_KEY", mLayoutManager?.onSaveInstanceState()) }
Expected Behavior:
when i press home without doing
runWithPermissions(Permission.WRITE_EXTERNAL_STORAGE) { doSomeStuff()}
it works fine otherwise it crashesThe text was updated successfully, but these errors were encountered: