I am using Navigation Component and inside my home fragment there is a ViewPager2. We knew that viewPager2 contains of Fragment too. How to call parent\'s function through f