BMG
02/19/2020, 9:51 AMclass SomeFragment(viewManager: SomeViewManager) : SomeViewInterface by viewManager {
}
Now I want to pass a View
to SomeViewManager
class. What is the best way to do it? Should I have a setter in SomeViewManger?
Ianmedeiros
02/19/2020, 5:17 PMIanmedeiros
02/19/2020, 5:18 PMIanmedeiros
02/19/2020, 5:19 PMghedeon
02/19/2020, 6:24 PMIanmedeiros
02/19/2020, 6:44 PMghedeon
02/20/2020, 7:09 AMAppComponentFactory
? FragmentFactory
is from androidx and I can't see any restrictions.BMG
02/20/2020, 7:33 AMFragmentFactory
! With that, can I inject SomeViewManager
and have a setter
to set the view once onViewCreated
is called?ahulyk
02/20/2020, 10:37 AMFragmentFactory
you can inject SomeViewManager
Ianmedeiros
02/20/2020, 2:05 PMIanmedeiros
02/20/2020, 2:05 PMIanmedeiros
02/20/2020, 2:05 PM