Questions tagged [android-navhostfragment]

16 questions
0
votes
1 answer

Child fragment's parent returns NavHostParent instead of actual parent fragment

I have the following structure: Activity NavHostFragment (with navigation graph) Fragment1 ChildFragment Fragment2 ChildFragment Fragment3 I want to access either Fragment1 or Fragment2 from…
1
2