Generally in Activity I have TabLaoyt and ViewPage

Naturally, fragments are created through the ViewPagerAdapter .

I have a task to access the view elements of the fragment, as I understand it is done through FragmentManager

But I can’t do this because I created fragments not through the FragmentManager , but through the ViewPagerAdapter right?

How to be?

I would like both TabLaoyt and the ability to access elements and create other things with a fragment.

  • Do not ask the same questions several times. Your questions can be edited. - Qwertiy

0