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

manlan

10/22/2020, 10:52 AM
How do I share data inside viewpager children fragments to the holder fragment? I know I can use the same viewmodel instance for the children and the holder, but the problem is I'm already using the child fragment elsewhere with a different viewmodel. How do I reuse the logic written in the child fragment and also manage to share it with the holder fragment/viewmodel?
o

okarm

10/22/2020, 3:41 PM
Where is your Kotlin-related question? Please read the description and purpose of this channel.
8 Views