Viewpager with Navigation Architecture Components [Duplicate]

Are there any uses for navigation with the viewpager? I can not find information about this and I do not understand how this can be done.

I have an simple two fragments which is need to put inside viewpager and if its possible via navigation.

4

As per this issue:

Navigation focuses on elements that affect the back stack and tabs do not affect the back stack - you should continue to manage tabs with a ViewPager and TabLayout

9
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest