Reputation: 18406
How to use the getChildFragmentManager()
in kotlin fragment class?
I know its very basic question. But no documents found for this. I searched in google & SO but no results found.
Upvotes: 4
Views: 5451
Reputation: 3632
Just use childFragmentManager
instead of getChildFragmentManager()
Upvotes: 5
Reputation: 75788
val adapterOBJ= YourAdapter(getChildFragmentManager()) // val means unmodifiable
Upvotes: 8