Zhuinden / flowless

[DEPRECATED] Based on Flow 1.0-alpha. To keep your life simple, use zhuinden/simple-stack instead.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should I even keep `preSaveViewState()` as part of the library?

Zhuinden opened this issue · comments

It's really just a hacky means of delegating before super.onSaveInstanceState() to fix the state persistence in the library https://github.com/ArthurHub/Android-Image-Cropper and set the image bitmap to null instead of serializing the picture to a Bundle.

This use-case is specific to the project, maybe it'd be best to remove it altogether and just move it to the project where I actually needed it.

It makes more sense than calling onSaveInstanceState without a bundle (outside of onSaveInstanceState) as per 4241d9b