flamyoad / Honnoki

ほんの木
16 stars 3 forks source link

Make app survive process death #3

Closed flamyoad closed 3 years ago

flamyoad commented 3 years ago

Either by using SaveStateHandle or move initialization code to onResume callback.

Note that onResume can and will be called every time the screen is rotated. So be sure to not to call initialization code more than once.

flamyoad commented 3 years ago

Maybe try out Navigation Components someday