Тёмный

How to use Viewpager2 with FragmentStateAdapter in Android | Android Tutorial pt 2 

tutorialsEU - Android
Подписаться 3,2 тыс.
Просмотров 14 тыс.
50% 1

In this video you will learn how to use Viewpager2 with FragmentStateAdapter in Android
To become a great Android developer check out: bit.ly/3l6vG86
Free download: page.tutorials...
Blog: tutorials.eu/v...
First part: • Swipe-able screens in ...
In the first part of this tutorial we covered ViewPager2 with RecyclerView.Adapter now lets look at how to use viewpager2 with fragments. First create an activity and name it GalleryActivity.
In this tutorial we will cover the following:
ViewPager2 vertical scrolling
Swiping between views
Swiping between fragments
Using TabLayout with ViewPager2
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@Landofcoding
@Landofcoding 2 года назад
OMG i had a bug with my project and i spent the whole day trying to fix it and when i watched the video i figured out the soluation thank you man
@tutorialsEU
@tutorialsEU 2 года назад
I'm super happy to hear that!
@amahjohnbosco
@amahjohnbosco 3 года назад
I love your tutorial very much. Please can make a video on how to build a News App, how to implement News API and Jeson etc
@ДмитрийВерба-т4в
@ДмитрийВерба-т4в 2 года назад
Denis has a course about app developing on udemy
@amahjohnbosco
@amahjohnbosco 2 года назад
@@ДмитрийВерба-т4в Ok I have seen his course
@nazareth590
@nazareth590 2 года назад
Hi there, i have an issue with the change of fragments behavior , meaning that for example i want to pass directly from fragment 1 to fragment 10, without seeing in the screen the other 8 fragments, as happens in minute 1:30 (when you click the third one and then the first one, for a second we can see the second one),, how to avoid that?, viewpager automatically load up all the fragments even thought we don't call them in the code. Please some one help
@my_love_sanatan
@my_love_sanatan 10 месяцев назад
not helped much, why two many viewpagers on different screens, it need the views to be match_parent ?
@gusoliveira21
@gusoliveira21 Год назад
what is the github of this project?
Далее
How to Use View Binding With Recycler View Adapter
26:38
FRAGMENTS - Android Fundamentals
17:29
Просмотров 331 тыс.
TAB LAYOUT WITH VIEWPAGER 2 - Android Fundamentals
11:26
RecyclerView | Everything You Need to Know
25:07
Просмотров 138 тыс.