pass arguments to viewmodel android kotlin using koin

Solutions on MaxInterview for pass arguments to viewmodel android kotlin using koin by the best coders in the world

showing results for - "pass arguments to viewmodel android kotlin using koin"
Loan
20 Aug 2016
1viewModel{ params -> AlbumViewModel(artistId = params.get(), playlistId = params.get()) }
2}
3val a = anyObject
4val b = anyObject
5val albumvieModle  = AlbumViewModel by inject { parametersOf(a, b)