Ranjithkumar
Ranjithkumar

Reputation: 18406

getChildFragmentManager() not found in kotlin

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

Answers (2)

iamkdblue
iamkdblue

Reputation: 3632

Just use childFragmentManager instead of getChildFragmentManager()

Upvotes: 5

IntelliJ Amiya
IntelliJ Amiya

Reputation: 75788

val adapterOBJ= YourAdapter(getChildFragmentManager()) // val means unmodifiable

Upvotes: 8

Related Questions