Closed Tetraquark closed 4 years ago
When you try to create multiple ViewModel on a same screen, for iOS appears kotlin.ClassCastException during getViewModel function call. On Android onCleared function is called for previously created ViewModel.
ViewModel
kotlin.ClassCastException
getViewModel
onCleared
When you try to create multiple
ViewModel
on a same screen, for iOS appearskotlin.ClassCastException
duringgetViewModel
function call. On AndroidonCleared
function is called for previously createdViewModel
.