When will rememberSaveable's data actually be cleared?
s
Sunil Kumar
04/19/2022, 9:20 AM
It will be cleared only when user manually(but not the system) finishes the activity in which composition is being used, because it saves the state in bundles and bundles are cleared when user manually finishes the activity(mostly when finish() method gets called).