Closed nijuyonkadesu closed 7 months ago
Navigating from settings page to the main screen causes app to crash on Null Pointer Reference.
Steps to reproduce the behavior: Check and ensure you do not pop backstack in navigation args
It should resume from where it was left.
App crashes and KeylineState is null (not my issue, probably m3 library is responsible)
KeylineState
onDestroy()
onResume()
https://sourcegraph.com/github.com/material-components/material-components-android@master/-/blob/lib/java/com/google/android/material/carousel/CarouselStrategyHelper.java?L46:23-46:41#tab=references
https://github.com/material-components/material-components-android/issues/3634
look on how to use saved state on navigation
not needed, but, need to see how to restore scroll position on carousel view? ehhh...
Describe the bug
Navigating from settings page to the main screen causes app to crash on Null Pointer Reference.
To Reproduce
Steps to reproduce the behavior: Check and ensure you do not pop backstack in navigation args
Expected behavior
It should resume from where it was left.
Actual behavior
App crashes and
KeylineState
is null (not my issue, probably m3 library is responsible)Additional context
onDestroy()
is not calledonResume()
of Fragment callback