aminography / ChoosePhotoHelper

ChoosePhotoHelper develops a component which facilitates the source code of picking photos in your Android apps.
Apache License 2.0
57 stars 26 forks source link

Add posibility to save and restore state #10

Closed kerleba closed 4 years ago

kerleba commented 4 years ago

closes #9

This MR allows to use onInstanceState method to save state and restore it later using withState. When used as shown in README it will work even when the phone is low on memory and system will recycle activity before choosing photo is done.

@aminography Let me know if you have any questions or suggestions.

aminography commented 4 years ago

Thanks a lot.