A must know secret about Android View State storing mechanism!
Saving and Restoring view state is so common, that it’s unbelievable this is not known to me till now. Missing this bit might cause some bizarre behavior.
Demonstration of issue
I’m taking the CustomComponent example from https://firstname.lastname@example.org/building-custom-component-with-kotlin-fc082678b080 to illustrate…