https://kotlinlang.org logo
#android
Title
# android
a

Almas Shagdarov

03/16/2020, 7:41 AM
Hi everyone. I have question i need to 3 screens they are same but content is different by content i mean i m same request but query of request depends on status that i give. So my question i wanna call one fragment but with different args problem is how can i call one viewmodel to every instance of fragment?
z

zalewski.se

03/16/2020, 9:15 AM
You can use Koin for dependency injection and use shared viewmodel