Manikanta G
06/18/2021, 6:16 PMclass Navigator(fragmentManager:FragmentManager{
//some specific logic using fragmentManager
}
class NavigatorTaker(navigator:Navigator){
  fun test(){
      navigator.someFunction()
   }
}
class VIewModdel(vall navigatorTaker:NavigatorTaker){
   fun onLoad(){
     navigatorTaker.test()
   }
}
I cannoot just create my module like below:
module {
single<Navigator>(????how to provide the fragmentManager here as its available with my activity)
single<NavigatorTaker>(get())
  viewmodel {.VIewModdel(get()) }
}
did anyone has already managed to tackle this issue... any help would be highly useful for me 🙇Manikanta G
06/18/2021, 6:17 PMscopes and ScopedActivity  but there are no concrete examples that i can refer for this 😞Peter Farlow
06/18/2021, 9:55 PM