In this tutorial we will learn how to use a Tab Layout with View Pager 2 in Android. Blog URL codevedanam.blogspot.com Music: Early Hours Musician: @iksonmusic
Пікірлер: 21
@akashshrivastava84222 жыл бұрын
Great video 👍👍👍 Very helpful 👍👍
@CodeVedanam2 жыл бұрын
Glad you liked it
@janbergstrom6457 ай бұрын
This tutorial is up to date with changing conditions Sdk34 for fragments which many other tutorial videos are not. Good basic tutorial for the migration work.
@VarunPrasadoneplusone Жыл бұрын
Thanks for making this video
@khrsgr2 жыл бұрын
Keep it up bro!!!
@CodeVedanam2 жыл бұрын
Thanks bhai
@khrsgr2 жыл бұрын
@@CodeVedanam Apki vajah se mera bahut samay bach gaya isi tarah andoid ke chhote chhote problems par video banate rahe dhanyavad!
@christianb.1919 Жыл бұрын
Thank you for this tutorial bro!
@user-ce2dv4he9s Жыл бұрын
Спасибо!
@yerbolkabzitov921610 ай бұрын
Thanks 🔥
@Anvarbek_Atabayev2 ай бұрын
In this video, the meaning is only to change the text, I think it would be better if you change the fragment
@factzfactory4956 Жыл бұрын
Sir please teach backstack of fragments in tab layout
@teladoum95 ай бұрын
Nice. But How use imagview instead TextView. For example, here You write Tab1, Tab2, I want in the place of tab1 we use image like in WhatsApp or other. Thank
@sonataarcfan927922 күн бұрын
im getting null at FragmentSavedState, any idea?
@vsedit9258 Жыл бұрын
its nice bro but how to we add info in tab1 or tab2 i want every tab has diffrent info plz tell me bro i am almost stuck there
@CodeVedanam Жыл бұрын
You can create three different fragments for your purpose
@vsedit9258 Жыл бұрын
@@CodeVedanam and how we get connect them with each other
@aliveandhopeful5080 Жыл бұрын
@@vsedit9258 use a switch case or if statement in your adapter createFragment to return your desired fragment based on position.
@soumya00 Жыл бұрын
I didn't understand Why ViewPager2 Adapter Constructor require Lyfecycle, and what is the purpose of "TabLayoutMedeator" object.... Please help me.....
@d7oom64z2 жыл бұрын
source code pls
@groinache Жыл бұрын
You music is way too loud against your voice, it's an annoying fact