Hi is anyone having any good resources to read abo...
# android
c
Hi is anyone having any good resources to read about the internals of the jetpack viewmodel? i was checking some logs and observed onClear is getting called before onDestory of Activity, I was expecting it to be called after onDestroy as per the diagram in docs
Copy code
2021-05-24 00:41:39.235 22590-22590/com.example.myapp D/******* on stop >>>>: ON-STOP
2021-05-24 00:41:39.237 22590-22590/com.example.myapp D/******* on cleared  view-model>>>>: ON-CLEARED
2021-05-24 00:41:39.238 22590-22590/com.example.myapp D/******* on destroy >>>>: ON-DESTROY