How to set zoom for viewPager(Fragments)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to set zoom for viewPager(Fragments)?

How to set zoom (the whole layout) for viewPager(Fragments)?

23rd Jun 2017, 12:02 PM
Kubs
Kubs - avatar
2 Answers
+ 4
You need to write a class which inherit FragmentPagerAdapter(initial your Fragments in this class), then create an instance of this class, put it into ViewPager by setAdapter() method.
3rd Jul 2017, 7:53 AM
Corey
Corey - avatar
+ 1
thank you. this sounds quite difficult :) now im facing another issue. is there any other way i can contact you?
12th Jul 2017, 6:28 PM
Kubs
Kubs - avatar