BottomNavigationView with Fragments | Android Studio Tutorial | 2024
ฝัง
- เผยแพร่เมื่อ 11 ก.พ. 2022
- Presenting brand new video:
In this video you will learn how to add Bottom Navigation bar or view to navigate through different fragments in our application.
You will learn:
- How to create bottom navigation bar
- How to create fragments
- How to make bottom navigation bar open fragments
Just follow the steps in the video.
More videos about Android Application Development will uploaded so get in touch with the channel.
So you are no more far.You can be developer.
If you want to support
☕ Buy me a coffee!"☕
www.buymeacoffee.com/bimal
---------------------------------------------------------------------------------------------------------------
GITHUB LINK :
github.com/bimalkaf/Android_B...
---------------------------------------------------------------------------------------------------------------
ACCESS THIS IMPORTANT PLAYLIST
• Android Studio 4.0 | A...
---------------------------------------------------------------------------------------------------------------
If you have any queries or doubt Comment below,I will reply.
And Dont forget to Subscribe for more Stuffs.
------------------------------------------------------------------------------------------------------------------------------------------------------
Android Development Course for beginners HINDI
• Android App Series (Fu...
Android Full Project App Development Playlist:
• Playlist
Racing Game Development in Visual Studio Full Playlist:
• RACING GAME DEVELOPMEN...
------------------------------------------------------------------------------------------------------------------------------------------------------
Like Our Facebook Page for regular Updates:
/ easytutoyt
------------------------------------------------------------------------------------------------------------------------------------------------------
For anyone getting a Constant Expression Required error in switch case use an if-else condition instead of switch case
How to use if else condition
bro you are a top tier tuto content creator
Well done! nice , quick and to the point. Thanks
Very well explained and make fragments more easy as they are thankyou for your efforts❤
Thank you! Your video helps me so much.
Thanks for the free content, bro!
Nice 👍
Thank you for fast, straight to the point and helpful video. Exactly what i need for my app, thank you!!
Thanks
Great video, thanks for you contribution, really helped me
thanks for straightforward tutorial in java
Great Video
Great video, it helped me a lot
非常详细 感谢
It's deprecated but it works, thank you!!!
great video thanks bosss!!😍
great video , stright to the point , i am beginner in android and among others this was shortest video
Thanks.
All the best. ❤️
I subscribed my friend. Thank you for the tutorial!!1
nice one you saved the day
Very nice Video, halped me a lot! :)
Thank you very much!
worked perfectly well
Great efforts... Very well explained 🔥
Thanks bro
I have seen few youtubers like u and u make very good tutorial ❤❤❤❤❤❤❤❤
Thanks
liked and subscribed ❤❤
Thanks alot
Thank you so much💪
Thanks a lot man.
Most welcome
Thanks a lot sr ♥️
Very helpful vdo, thanks brother.
Thanks
veryvery useful!!
Glad to hear that!
Thank you sir, I really appreciate your help!
Thanks
how do you add a swipe function to this so that you will switch fragments everytime you swipe left or right?
Thanks a lot for this video
🙏🙏Please make video in kotlin about how to Add favourite button on images in home fragment in Bottom Navigation and add Favourited Images to other fragment with name Favourite and take those images from firebase and also save the favourite images in local database
Please make in Kotlin 🙏
Will you make please reply, if possible share the link of the video
Thanks bro
Thanks
Tqsm helped me
thankyou so much
🔥🔥🔥🔥🔥🔥
it doesnt let me make this boolean: public void onNavigationItemReselected(MenuItem item) {} what to do
Am not at all able to implement bottom navigation in my stuido,
It acts as if there is no content in it ,and just stays collapsed all the time.(i.e. when i use wrap content for the bottom nav_bar ,it should expand in height, but its not happening ! ,even after attaching the menu resource file to the bottom nav ..) . Please help out !
Hello, did you solve the problem? I have the same(((
Thank you for this video; it is very nicely stated☺
Thanks
Best for my eyes ........!
Thanks
hi !
i can display my fragments at the main activity
i need help my public boolean onNavigationItemSelected is underlined red at boolean part i dont know how to solve it
Good, it's very helpful.
Bhai realm wala notes app tha na usme recyclerview me data update kaise kre... Plzz bhai help me🙏🙏🙏
How can I change the bottom navigation theme
Sir, when I run the application it shows that open app again... What may be the reason. Could you help me?
where did u get that home
Thanks for this video, but how can I use the Fragment class because when I write code I get an error
Same problem when writing
thank youuuu
Thanks
THANKS! Can you do a tutorial where a button check your location and shows results depending on that location?
Okay
मेने भी अपने app में bottom navigation के साथ fragments का use लिया पर मेरा app बार बार क्रैश हो रहा है इसका कुछ सलूशन पता हो तो बताना ,मेने हर एक fregment में api calling के through data load करवाया है जब data जल्दी load हो जाता है तब app क्रैश नहीं होता है पर जब धीरे load होता है या नहीं होता है तब app क्रैश हो जाता है इसका कुछ उपाय हो तो बताना
its showing error in boolean in public boolean onNavigationItemReselected( MenuItem item)
please help
How to change icon color
Why 3 dot is instead of icon I follow all the steps correctly please help me
This is a really good tutorial. But for some reason, the non selected item text color is white for light theme, and black for black theme. So, cannot see the non selected items. The icon color for non selected is black as usual, but the text is completely invisible. Only the selected one is visible. I know now, this is due to the fact I have more than 3 items, actually have 5 items, but cannot figure out how and where to change BottomNavigationBarType.fixed.
Check the color in theme.xml.
Add colors in both day and night xml classes and use them.
It will change accordingly.
Hi bro but id of the fragment cant be able to written in the switch statement error is"CONSTRANT EXPRESSION IS REQUIRED"
And also your github code isnt opening in the android studio
if (item.getItemId() == R.id.Home) {
getSupportFragmentManager().beginTransaction().replace(R.id.container,homeFragment).commit();
}
return false;
just change switch to if it works on mine
fragment restart every time when we change tab
my setOnItemSelectedListener() is red why is that?
Please come with Twitter Integration
It is showing error on switch case statement.
can you help me with my error:
i'm getting an error "constant expression required" when i use case R.id.home, hope u can help me thanks!
Check you have added home menu option and if you have added, then check R is imported or not.
Do gradle sync again if issue persists.
i need a RecyclerView and Firebase information In Android Studio JAVA language.
And One of the Short and Right method of Bottom navigation.
thank you
For recycle and firebase
Video series is in process just this week it will come.
Please stay tuned
@@EasyTuto1 thanks bro 💪
You get a like and a subscribe for putting a github link in my friend
Its just for reference.
Try to do it yourself rather than copying and pasting the code.
@@EasyTuto1 I did but I broke something and I couldn’t for the life of me figure it out but I was able to fix it when I looked through your code, cheers!
Thanks
Cheers!
no one is showing after orientation.
Je viens de télécharger votre vidéo. je reviendrai avec commentaire après. Merci
Thanks
when I tried it myself. it's got going back to home icon again.
Check the code.
You have missed something.
I wanna change icon background color when clicked
same hre
create a new color folder inside add color attribute and tag it to your icon i have also made a tut on it
Hi sir how earning app make 🙏
Hello bro
I followed your steps but it's not showing any navigation bar without any error. Please help?
Hello, did you solve the problem?
my widget disapearing when i comeback to fragment
How can I replace "first fragment" with "main activity" ??
La activity en este caso es como el esqueleto/contenedor donde iran los fragments y el menu, si lo que quieres es llamar a otra pasarte a una activity desde el fragment, entonces hazlo como lo harías si fuese de activity a activity
Android studio is saying constant expression required after case R.id.home: was showing red line under please help me
Hello, did you solve the problem?
@@qqqQqqQqqQqQQQW well what I did is I downloaded android studio dolphin and it worked there , but I think the core issue was the Gradle version I was using , the Gradle version that gave me this issue was 8.0 , in the version I downloaded I downgraded the Gradle to 7.4
@@ryansumbele3552
I'm glad you solved this problem)
One day I thought about this problem and decided that I would just replace the switch - case with if-else. Thanks for answering ^^
thanks eay tutu family
Thanks
not working and the video is cut at 7.14 / 7.15 the problem is at this point constant expression is required switch case not likely to work here
Go to the switch case and press alt+enter and select if else problem solved.
Seria bueno que especifiques desde el inicio que aún es java y no Kotlin