Hi. This maybe a noob question but when does remem...
# compose
t
Hi. This maybe a noob question but when does remembered state is cleaned?
b
One scenario is when there is a screen configuration changed, which causes the MainActivity(app's entry point) to go to onStop() then to onCreate().
t
What about
rememberSavable
?
b
remeberSaveable is kept. It is like overiding onSavedInstance method in previous(view based) UI kit.
t
Thank you!
b
No problem!