Is there any issue into creating one ViewModel per type of item in a LazyColumn?
Would that still play nicely with recycling?
s
Stylianos Gakis
01/02/2025, 4:53 PM
Doubt it. A VM is scoped to a ViewModelStoreOwner, which your individual lazy items are not such store owners themselves, but your activity or your NavBackStackEntry may be.
g
galex
01/05/2025, 7:51 AM
Yeah I agree, it doesn't seem like a good idea to me as well