Fragments Implementation - Android Studio Tutorial || 2021 || Foxandroid ||

  Рет қаралды 116,143

Foxandroid

Foxandroid

3 жыл бұрын

Fragments Implementation - Android Studio Tutorial
Source Code : github.com/foxandroid/fragments
Follow me on Instagram: / foxandroidblog
Follow me on Facebook: / foxandroidblog
---------------------------------------------------------------------------------------------------------------------------------------------------------
Equipment I Use to Make My videos:
📱 Phone -: amzn.to/3px6ucS
🎧Earphones -: amzn.to/3JecI98
🎙️Mic - : amzn.to/310u7Rp
🎙️Mic - : amzn.to/3He96SW
🔊Speakers - : amzn.to/3Hgfzg8
💾External HardDrive - amzn.to/3JoRzZV
💻 My PC build: www.amazon.in/shop/foxandroid
--------------------------------------------------------------------------------------------------------------------------------------------------------
Hey Developers,
In this video, I have explained :
* How to create a fragment
* How to implement fragment in an Activity
* How to replace fragment with another fragment
Firebase Google Authentication Sign in using Android
• Firebase Google Authen...
DatePicker Dialog in Android Studi
• DatePicker Dialog in A...
How to Check Internet Connection in Android Studio
• How to Check Internet ...
How to Implement Admob Ads in Android Studio
• How to Implement Admob...
Responsive App Design in Android Studio 2021
• Responsive App Design ...
Introduction to Fragments - Android Studio Tutorial
• Introduction to Fragme...
#fragments #fragmentandroid #fragmentsimplementation

Пікірлер: 89
@_foxandroid
@_foxandroid Жыл бұрын
You can support the channel --> www.buymeacoffee.com/foxandroid
@chandankashyap4914
@chandankashyap4914 2 жыл бұрын
Recently started learning android studio and this was very helpful and informative. Thank you sir❤
@Viewer899
@Viewer899 2 жыл бұрын
I just subscribed, finally learned fragments!
@meershahidmanzoor
@meershahidmanzoor Жыл бұрын
In layman's definition fragment may be the sub activity inside the main activity right?? where each sub activity works separately without depending on other however data can be passed on from one fragment to another
@mantapkali4368
@mantapkali4368 Жыл бұрын
Brother, thank you for the tutorial. Is it possible when open the activity, then shows fragments 1 instead of white blank page. What code do i need to add to make it possible ?
@felixespinosa7853
@felixespinosa7853 2 жыл бұрын
what if the button is inside the fragment itself? and if I click it, it will send me to another fragment but still same activity
@anirudhsahoo92
@anirudhsahoo92 Жыл бұрын
Nice easy explanation. Helpful for basic implementations
@TurbooTitans
@TurbooTitans 2 жыл бұрын
whats the difference between relative and frame layout ???
@MamoonYameen
@MamoonYameen 2 жыл бұрын
I used Frame Layout instead of Relative Layout in fragemnt that works better to present the fragment. Good 1.
@chanjunyang420
@chanjunyang420 2 жыл бұрын
Good tutorial and clean code. Thumbs up for u!
@rodolphefrancotte6878
@rodolphefrancotte6878 2 жыл бұрын
Explications très claires merci !
@saravanakumar-wg1bq
@saravanakumar-wg1bq 23 күн бұрын
One doubt sir. Onclicking frag1 button it replaces framelayout that ok how on clicking frag2 button frag2 getting replaced by frag1 but in code u shown framelayout is getting replaced by frag2
@Mikeroyceful
@Mikeroyceful 2 жыл бұрын
Worked perfectly for me and very informative. Thanks for the wonderful video!
@1aaron215
@1aaron215 3 жыл бұрын
Thanks man helped me a ton!
@gohelboy
@gohelboy 2 жыл бұрын
You make it so easy thanks man
@itzigma9176
@itzigma9176 2 жыл бұрын
Nice explanation. Thanks a lot for this ❤
@user-ww2zq2np2o
@user-ww2zq2np2o 4 ай бұрын
Excellent tutorial presentation. Thank you for posting it!
@ganeshreddykomitireddy5128
@ganeshreddykomitireddy5128 10 ай бұрын
Simply superb explanation sir
@jonasfalkenbach3284
@jonasfalkenbach3284 3 жыл бұрын
It's so easy and works so well... thanks a lot for this :)
@_foxandroid
@_foxandroid 3 жыл бұрын
Glad it helped
@tonymukelabai1283
@tonymukelabai1283 2 жыл бұрын
Btw can you recommend some books that point out how the methods are used for example the getSupportFragmentManager and others in more detail
@_foxandroid
@_foxandroid 2 жыл бұрын
Read the documentation...no specific book
@tonymukelabai1283
@tonymukelabai1283 2 жыл бұрын
Works grear...ps: anybody in a rush. Take time to start the entire playList😉
@rolantembe8514
@rolantembe8514 Жыл бұрын
Conteúdo super fantástico....
@tianjian882004
@tianjian882004 Жыл бұрын
It is fantastic video. Only suggestion is please change background to white so it will be clear.
@codethrusharing8955
@codethrusharing8955 2 жыл бұрын
wonderful tutorial, thank you so much!
@nitindhamale8789
@nitindhamale8789 3 жыл бұрын
Excellent
@NxttLvlClipss
@NxttLvlClipss Ай бұрын
Thank You So Much Bruh!! You Helped Me Alot...😊❤
@21flame72
@21flame72 2 ай бұрын
sir how to display the fragment 1 whenever launch the application without explicit click
@nazimraza4890
@nazimraza4890 3 жыл бұрын
How to pass data from Activity to fragments?
@manabsaha5336
@manabsaha5336 2 жыл бұрын
Nice and simple.
@mukeshroy4971
@mukeshroy4971 3 жыл бұрын
very easy to understand, thanks brother
@_foxandroid
@_foxandroid 3 жыл бұрын
❤️❤️❤️
@rimpyyyyyadavvv555
@rimpyyyyyadavvv555 Жыл бұрын
Bhai m beginner aur mujhe abhi fragment use nhi krna h but mere pc m phle se hi first fragment main activity second fragment krke project wale section m aa rha h aur Mera emulator bhi nhi chl rha pls help gradle failed bta rha h
@Attee_Q
@Attee_Q 2 жыл бұрын
Hi If you do not turn on the automatic english subtitle, please make an own english subtitle for the videos.
@ajayvamsee7508
@ajayvamsee7508 3 жыл бұрын
Hello brother i need help I have a home screen in that i have to display some person info with recyclerview In homescreen i created fab which is Add button so it will person details input activity. So how send that data like Actvity B to Activity A I tried with interface to transfer data object and override the method in Activity A and calling from Activity B It showing an exception calling a null a method on null reference
@_foxandroid
@_foxandroid 3 жыл бұрын
If you want to share data between activites i have a video on that "share data between activities foxandroid" search this
@quizworld5
@quizworld5 2 жыл бұрын
Oh~ thank you so so much. you saved me ^^
@bunyodbek_bekmuhammedov_blog
@bunyodbek_bekmuhammedov_blog 2 жыл бұрын
great
@fisikfisik6037
@fisikfisik6037 Жыл бұрын
Thanks for the tutorial but on my device the backgroundInt don't work. The buttons always purple
@vmorita
@vmorita 2 жыл бұрын
Thank you!
@user-wj3ni2pl6c
@user-wj3ni2pl6c 11 ай бұрын
thank you very much😄 but the music is very annoying i think if you mute it will be better 👍
@haroonarif9876
@haroonarif9876 2 жыл бұрын
v good
@MonjelMorshedSabbir
@MonjelMorshedSabbir Жыл бұрын
Thank you sir.
@surveyassist6582
@surveyassist6582 2 жыл бұрын
Thanks bro..
@priscilavictoriarosadochue6614
@priscilavictoriarosadochue6614 Жыл бұрын
thankss!!!
@abosolutions1967
@abosolutions1967 3 жыл бұрын
Hello brother, You referred me here from your other video bother. Your videos are great and you explain things in detail. I have download sample source code and I am playing around with it. It would really be great if on the sample source code you could implement banner ad on the header section, and only make the banner visible in fragment 1 and make it disabled in fragment 2
@_foxandroid
@_foxandroid 3 жыл бұрын
Hello brother I can't change this source code as other users are also using it...i hope you understand
@truyentranhm4v900
@truyentranhm4v900 2 жыл бұрын
thank you very much, i love you.
@ahamedsuhails
@ahamedsuhails 2 жыл бұрын
Thanks
@seamaster_007
@seamaster_007 Жыл бұрын
why is your video so grainy? I need to be able to see to follow along!
@nayangupta9467
@nayangupta9467 2 жыл бұрын
Nice video ever ❤️💯😊🌄👍😎◾❤️🌻💯😊🌄💯😊
@mukeshroy4971
@mukeshroy4971 3 жыл бұрын
please sir make a video on ViewPager2, tabLayou, swipe
@_foxandroid
@_foxandroid 3 жыл бұрын
Sure bro!❤️❤️❤️
@williamselinder9138
@williamselinder9138 2 жыл бұрын
So bloody good! It's always the indians aswell 😂
@ahdourmohammed2350
@ahdourmohammed2350 3 жыл бұрын
thank you so mosh man
@_foxandroid
@_foxandroid 3 жыл бұрын
Glad it helped man
@buddhadas5828
@buddhadas5828 2 жыл бұрын
Sir, how to start my app directly from any Fragment,,bcz here when we click one btn then only only first fragment opens,, but in "Flipkart" they opens the "Shop" fragment directly without opening any activity,,,plz reply...
@_foxandroid
@_foxandroid 2 жыл бұрын
Directly call the same function in oncreate of activt
@buddhadas5828
@buddhadas5828 2 жыл бұрын
@@_foxandroid Its not happening sir, when I am doing this app is keeps stopping in my phone...please explain it sir how can I do it correctly? waiting for ur reply...
@srikar306
@srikar306 Жыл бұрын
@@_foxandroid please reply
@ammarrajpoot1558
@ammarrajpoot1558 2 жыл бұрын
helpful bro...
@_foxandroid
@_foxandroid 2 жыл бұрын
Glad it helped!!!
@wajidjoseph
@wajidjoseph 2 жыл бұрын
I need source code of this tutorial
@justcoder1915
@justcoder1915 3 жыл бұрын
how to set admob banner ad in navigation drawer hindi
@_foxandroid
@_foxandroid 3 жыл бұрын
Please watch Navigation drawer tutorial and put a baaner ad there
@bilgeergin3016
@bilgeergin3016 3 жыл бұрын
I have linked my app to Google maps. Trailer doesn't work. Build and run gives no errors but codes don't work why?
@_foxandroid
@_foxandroid 3 жыл бұрын
Share code pics on IG
@bilgeergin3016
@bilgeergin3016 3 жыл бұрын
@@_foxandroid I wrote to you on Facebook, can you contact me?
@surveyassist6582
@surveyassist6582 2 жыл бұрын
Seach in fragment
@pragyanshreedas23594
@pragyanshreedas23594 2 жыл бұрын
i don't get the part fragment1() with the replace method ????? what does that mean?
@_foxandroid
@_foxandroid 2 жыл бұрын
It basically passes the object of fragment 1 class
@pragyanshreedas23594
@pragyanshreedas23594 2 жыл бұрын
@@_foxandroid Oh, do you have any tutorials on room DB CRUD using fragment?
@AmitKumar-zo5dr
@AmitKumar-zo5dr Жыл бұрын
Showing error in last two lines :(
@nellahtwins2
@nellahtwins2 2 жыл бұрын
It's not working on me
@S25Creation
@S25Creation Жыл бұрын
How to solve ANDROID RESOURCE LINKING ?😭
@GrumpyOldMan9
@GrumpyOldMan9 2 жыл бұрын
Unintelligible. Auto-generated English subtitles don't work. Please add manual English subtitles.
@mgbhadurudeen336
@mgbhadurudeen336 3 жыл бұрын
Good work. but keep it short. very lengthy video. so litte boring.
@_foxandroid
@_foxandroid 3 жыл бұрын
Thanks for the feedback!!
@kunalmahajan5310
@kunalmahajan5310 3 жыл бұрын
Pls add caption with English Language
@_foxandroid
@_foxandroid 3 жыл бұрын
Sure sir! Thanks for the feedback...means a lot❤
@Chaitanya_sariyal
@Chaitanya_sariyal Жыл бұрын
too poor explaination
@Manojkumar-bk5sr
@Manojkumar-bk5sr Жыл бұрын
Bro R.id.framelayout.fragment is not working 😕
@DanyalKarney
@DanyalKarney 7 ай бұрын
It help me a lot❣... Thanks .@DanyalKarney
@donphelix5266
@donphelix5266 2 жыл бұрын
Thank you!
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 100 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 31 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 324 М.
How to Create Fragments in Android Studio (2023) | Fragment Activity
11:40
Fragment in Android Studio using Kotlin | Android Knowledge
15:36
Android Knowledge
Рет қаралды 8 М.
Pydantic is OP, here's why
18:10
Carberra
Рет қаралды 13 М.
TUTO Android : Définition et utilisation de Fragment
28:20
Dominique Liard
Рет қаралды 32 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 71 М.
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 100 МЛН