Fragments Implementation - Android Studio Tutorial || 2021 || Foxandroid ||
HTML-код
- Опубликовано: 2 окт 2024
- Fragments Implementation - Android Studio Tutorial
Source Code : github.com/fox...
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/...
--------------------------------------------------------------------------------------------------------------------------------------------------------
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
You can support the channel --> www.buymeacoffee.com/foxandroid
Recently started learning android studio and this was very helpful and informative. Thank you sir❤
You make it so easy thanks man
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
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...
Directly call the same function in oncreate of activt
@@_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...
@@_foxandroid please reply
How to solve ANDROID RESOURCE LINKING ?😭
sir how to display the fragment 1 whenever launch the application without explicit click
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
Btw can you recommend some books that point out how the methods are used for example the getSupportFragmentManager and others in more detail
Read the documentation...no specific book
thankss!!!
Thank You So Much Bruh!! You Helped Me Alot...😊❤
thank you very much😄 but the music is very annoying i think if you mute it will be better 👍
whats the difference between relative and frame layout ???
Hi
If you do not turn on the automatic english subtitle, please make an own english subtitle for the videos.
I used Frame Layout instead of Relative Layout in fragemnt that works better to present the fragment.
Good 1.
Bro R.id.framelayout.fragment is not working 😕
please sir make a video on ViewPager2, tabLayou, swipe
Sure bro!❤️❤️❤️
wonderful tutorial, thank you so much!
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
If you want to share data between activites i have a video on that "share data between activities foxandroid" search this
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
I just subscribed, finally learned fragments!
Thanks for the tutorial but on my device the backgroundInt don't work. The buttons always purple
Thanks man helped me a ton!
Showing error in last two lines :(
too poor explaination
I have linked my app to Google maps. Trailer doesn't work. Build and run gives no errors but codes don't work why?
Share code pics on IG
@@_foxandroid I wrote to you on Facebook, can you contact me?
Nice explanation. Thanks a lot for this ❤
It is fantastic video. Only suggestion is please change background to white so it will be clear.
It's so easy and works so well... thanks a lot for this :)
Glad it helped
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 ?
Thanks bro..
why is your video so grainy? I need to be able to see to follow along!
Thank you!
v good
It's not working on me
Thank you!
So bloody good! It's always the indians aswell 😂
Excellent tutorial presentation. Thank you for posting it!
Thanks
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
Works grear...ps: anybody in a rush. Take time to start the entire playList😉
Good tutorial and clean code. Thumbs up for u!
how to set admob banner ad in navigation drawer hindi
Please watch Navigation drawer tutorial and put a baaner ad there
i don't get the part fragment1() with the replace method ?????
what does that mean?
It basically passes the object of fragment 1 class
@@_foxandroid Oh, do you have any tutorials on room DB CRUD using fragment?
Worked perfectly for me and very informative. Thanks for the wonderful video!
I need source code of this tutorial
Nice easy explanation. Helpful for basic implementations
Oh~ thank you so so much. you saved me ^^
Excellent
Nice video ever ❤️💯😊🌄👍😎◾❤️🌻💯😊🌄💯😊
Good work. but keep it short. very lengthy video. so litte boring.
Thanks for the feedback!!
Explications très claires merci !
thank you very much, i love you.
Simply superb explanation sir
helpful bro...
Glad it helped!!!
How to pass data from Activity to fragments?
thank you so mosh man
Glad it helped man
Thank you sir.
Conteúdo super fantástico....
very easy to understand, thanks brother
❤️❤️❤️
great
Nice and simple.
Unintelligible. Auto-generated English subtitles don't work. Please add manual English subtitles.
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
Hello brother I can't change this source code as other users are also using it...i hope you understand
Seach in fragment
Pls add caption with English Language
Sure sir! Thanks for the feedback...means a lot❤
It help me a lot❣... Thanks .@DanyalKarney