Join Slack
Powered by
Hello, I have an android fragment with a viewModel...
# koin
m
mmaillot
04/05/2019, 12:49 PM
Hello, I have an android fragment with a viewModel. I use private
by sharedViewModel()
to inject the view model. But I want to create my ViewModel with an argument provided via intent in the activity. Is it possible ?
mmaillot
04/05/2019, 1:09 PM
I think I found:
https://insert-koin.io/docs/2.0/documentation/reference/index.html#_injection_parameters
(RTFM 🙂 )
👍 1
3
Views
Open in Slack
Previous
Next