Is it a good idea to pass an intent to a viewModel...
# android
p
Is it a good idea to pass an intent to a viewModel ?
😶 3
a
Generally, intents are meant to be passed between activities/services. If you want to get something from that intent in the view model, I’d suggest you just pass that instead of the whole intent
💯 1
p
Thank you @Alex Yordanov