My kotlin lang slack search if failing me but i th...
# android
c
My kotlin lang slack search if failing me but i think someone here said that AAC ViewModels with public suspend functions are a code smell. Am I remembering correctly? Or are public suspend functions fine?
p
I kind of agree with the smell opinion. I would prefer just input/output flows in/from my AAC VMs. That way they look closer to an Actor or an MVI store. But there maybe a case for exposing a suspend function, although I don’t have one on the top off my head
1
j
Is the smell the fact that it should be using its own view model scope with a launch instead of delegating to a scope from the UI?