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

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

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!
@1aaron215
@1aaron215 3 жыл бұрын
Thanks man helped me a ton!
@MamoonYameen
@MamoonYameen 2 жыл бұрын
I used Frame Layout instead of Relative Layout in fragemnt that works better to present the fragment. Good 1.
@gohelboy
@gohelboy 2 жыл бұрын
You make it so easy thanks man
@chanjunyang420
@chanjunyang420 2 жыл бұрын
Good tutorial and clean code. Thumbs up for u!
@itzigma9176
@itzigma9176 2 жыл бұрын
Nice explanation. Thanks a lot for this ❤
@anirudhsahoo92
@anirudhsahoo92 Жыл бұрын
Nice easy explanation. Helpful for basic implementations
@user-ww2zq2np2o
@user-ww2zq2np2o 4 ай бұрын
Excellent tutorial presentation. Thank you for posting it!
@codethrusharing8955
@codethrusharing8955 2 жыл бұрын
wonderful tutorial, thank you so much!
@jonasfalkenbach3284
@jonasfalkenbach3284 3 жыл бұрын
It's so easy and works so well... thanks a lot for this :)
@_foxandroid
@_foxandroid 3 жыл бұрын
Glad it helped
@Mikeroyceful
@Mikeroyceful 2 жыл бұрын
Worked perfectly for me and very informative. Thanks for the wonderful video!
@rodolphefrancotte6878
@rodolphefrancotte6878 2 жыл бұрын
Explications très claires merci !
@NxttLvlClipss
@NxttLvlClipss Ай бұрын
Thank You So Much Bruh!! You Helped Me Alot...😊❤
@ganeshreddykomitireddy5128
@ganeshreddykomitireddy5128 10 ай бұрын
Simply superb explanation sir
@tonymukelabai1283
@tonymukelabai1283 2 жыл бұрын
Works grear...ps: anybody in a rush. Take time to start the entire playList😉
@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
@mukeshroy4971
@mukeshroy4971 3 жыл бұрын
very easy to understand, thanks brother
@_foxandroid
@_foxandroid 3 жыл бұрын
❤️❤️❤️
@quizworld5
@quizworld5 2 жыл бұрын
Oh~ thank you so so much. you saved me ^^
@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
@tianjian882004
@tianjian882004 Жыл бұрын
It is fantastic video. Only suggestion is please change background to white so it will be clear.
@TurbooTitans
@TurbooTitans 2 жыл бұрын
whats the difference between relative and frame layout ???
@rolantembe8514
@rolantembe8514 Жыл бұрын
Conteúdo super fantástico....
@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 ?
@saravanakumar-wg1bq
@saravanakumar-wg1bq Ай бұрын
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
@manabsaha5336
@manabsaha5336 2 жыл бұрын
Nice and simple.
@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
@nitindhamale8789
@nitindhamale8789 3 жыл бұрын
Excellent
@vmorita
@vmorita 2 жыл бұрын
Thank you!
@truyentranhm4v900
@truyentranhm4v900 2 жыл бұрын
thank you very much, i love you.
@surveyassist6582
@surveyassist6582 2 жыл бұрын
Thanks bro..
@MonjelMorshedSabbir
@MonjelMorshedSabbir Жыл бұрын
Thank you sir.
@user-wj3ni2pl6c
@user-wj3ni2pl6c 11 ай бұрын
thank you very much😄 but the music is very annoying i think if you mute it will be better 👍
@priscilavictoriarosadochue6614
@priscilavictoriarosadochue6614 2 жыл бұрын
thankss!!!
@nayangupta9467
@nayangupta9467 2 жыл бұрын
Nice video ever ❤️💯😊🌄👍😎◾❤️🌻💯😊🌄💯😊
@bunyodbek_bekmuhammedov_blog
@bunyodbek_bekmuhammedov_blog 2 жыл бұрын
great
@ahamedsuhails
@ahamedsuhails 2 жыл бұрын
Thanks
@21flame72
@21flame72 3 ай бұрын
sir how to display the fragment 1 whenever launch the application without explicit click
@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
@haroonarif9876
@haroonarif9876 2 жыл бұрын
v good
@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
@ahdourmohammed2350
@ahdourmohammed2350 3 жыл бұрын
thank you so mosh man
@_foxandroid
@_foxandroid 3 жыл бұрын
Glad it helped man
@williamselinder9138
@williamselinder9138 2 жыл бұрын
So bloody good! It's always the indians aswell 😂
@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
@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
@ammarrajpoot1558
@ammarrajpoot1558 2 жыл бұрын
helpful bro...
@_foxandroid
@_foxandroid 2 жыл бұрын
Glad it helped!!!
@nazimraza4890
@nazimraza4890 3 жыл бұрын
How to pass data from Activity to fragments?
@fisikfisik6037
@fisikfisik6037 Жыл бұрын
Thanks for the tutorial but on my device the backgroundInt don't work. The buttons always purple
@mukeshroy4971
@mukeshroy4971 3 жыл бұрын
please sir make a video on ViewPager2, tabLayou, swipe
@_foxandroid
@_foxandroid 3 жыл бұрын
Sure bro!❤️❤️❤️
@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?
@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?
@seamaster_007
@seamaster_007 Жыл бұрын
why is your video so grainy? I need to be able to see to follow along!
@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
@surveyassist6582
@surveyassist6582 2 жыл бұрын
Seach in fragment
@AmitKumar-zo5dr
@AmitKumar-zo5dr Жыл бұрын
Showing error in last two lines :(
@wajidjoseph
@wajidjoseph 2 жыл бұрын
I need source code of this tutorial
@nellahtwins2
@nellahtwins2 2 жыл бұрын
It's not working on me
@GrumpyOldMan9
@GrumpyOldMan9 2 жыл бұрын
Unintelligible. Auto-generated English subtitles don't work. Please add manual English subtitles.
@S25Creation
@S25Creation Жыл бұрын
How to solve ANDROID RESOURCE LINKING ?😭
@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 8 ай бұрын
It help me a lot❣... Thanks .@DanyalKarney
@donphelix5266
@donphelix5266 2 жыл бұрын
Thank you!
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 325 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 25 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 37 МЛН
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 130 М.
MOST HEATED MATCH UP in MSC 2024, FCAP vs LIQUID ECHO . . . 🤯
11:17
Snipe Gaming TV
Рет қаралды 28 М.
How to Create Fragments in Android Studio (2023) | Fragment Activity
11:40
Layouts in Android Studio (XML) | Android UI Design Explained
1:04:41
TUTO Android : Définition et utilisation de Fragment
28:20
Dominique Liard
Рет қаралды 32 М.