iamthevoid
07/05/2021, 12:29 PMonDestroyView
for composable? For example here listed example when viewModel value assigning as default parameter in composable function by viewModel()
call. If i understand correct this factory creates (or returns) view model from activity or fragment scope.
But what if i develop single activity app with huge number of features on billions screens? Should i use activity view model scope or i must include fragments to my code or there is better way to handle memory in compose?iamthevoid
07/05/2021, 12:30 PMDaniel
07/05/2021, 12:40 PMiamthevoid
07/05/2021, 12:50 PMonCleared
calls when composable goes out from screen, it is perfect!iamthevoid
07/05/2021, 12:50 PMDaniel
07/08/2021, 7:00 AM