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
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 ?
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 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...
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
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
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
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
You can support the channel --> www.buymeacoffee.com/foxandroid
Recently started learning android studio and this was very helpful and informative. Thank you sir❤
Nice easy explanation. Helpful for basic implementations
Excellent tutorial presentation. Thank you for posting it!
It is fantastic video. Only suggestion is please change background to white so it will be clear.
I just subscribed, finally learned fragments!
Simply superb explanation sir
I used Frame Layout instead of Relative Layout in fragemnt that works better to present the fragment.
Good 1.
You make it so easy thanks man
Works grear...ps: anybody in a rush. Take time to start the entire playList😉
Thank You So Much Bruh!! You Helped Me Alot...😊❤
It's so easy and works so well... thanks a lot for this :)
Glad it helped
Hi
If you do not turn on the automatic english subtitle, please make an own english subtitle for the videos.
Good tutorial and clean code. Thumbs up for u!
Worked perfectly for me and very informative. Thanks for the wonderful video!
wonderful tutorial, thank you so much!
Nice explanation. Thanks a lot for this ❤
thank you very much😄 but the music is very annoying i think if you mute it will be better 👍
Thanks man helped me a ton!
Nice and simple.
Excellent
So bloody good! It's always the indians aswell 😂
very easy to understand, thanks brother
❤️❤️❤️
Explications très claires merci !
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
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
Conteúdo super fantástico....
Nice video ever ❤️💯😊🌄👍😎◾❤️🌻💯😊🌄💯😊
great
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
Thank you sir.
sir how to display the fragment 1 whenever launch the application without explicit click
Thanks bro..
whats the difference between relative and frame layout ???
v good
Oh~ thank you so so much. you saved me ^^
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 for the tutorial but on my device the backgroundInt don't work. The buttons always purple
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
thankss!!!
Thank you!
Thanks
helpful bro...
Glad it helped!!!
thank you very much, i love you.
why is your video so grainy? I need to be able to see to follow along!
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
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?
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
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
thank you so mosh man
Glad it helped man
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?
please sir make a video on ViewPager2, tabLayou, swipe
Sure bro!❤️❤️❤️
How to solve ANDROID RESOURCE LINKING ?😭
Unintelligible. Auto-generated English subtitles don't work. Please add manual English subtitles.
How to pass data from Activity to fragments?
Showing error in last two lines :(
i didnt get the output in mobile i will write the same code
how to set admob banner ad in navigation drawer hindi
Please watch Navigation drawer tutorial and put a baaner ad there
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
I need source code of this tutorial
Seach in fragment
It's not working on me
Good work. but keep it short. very lengthy video. so litte boring.
Thanks for the feedback!!
Pls add caption with English Language
Sure sir! Thanks for the feedback...means a lot❤
too poor explaination
Bro R.id.framelayout.fragment is not working 😕
It help me a lot❣... Thanks .@DanyalKarney
Thank you!