Navigation Component with Navigation Drawer || Android Studio Tutorial

preview_player
Показать описание
#android #androidDev #larntech
Android Tutorial Navigation Component withNavigation Drawer || android studio project.

For additional help/customization and tasks reach me via.

Navigation allows a user to navigate across.
Using the latest versions version of an android studio you will notice when you create a navigation drawer activity by default it comes with navigation component.

It can be challenging how you can add a new navigation menu, listen to menu click, add new fragment or even open new activity when a menu item is clicked and that why I have prepared this video.

In this tutorial, you will learn how to add new menu items in the navigation menu.
Listen when the navigation menu is clicked.
Add custom navigation menu which opens custom fragment on click.
Add navigation item which opens activity when clicked.

Thanks for watching if you are not subscribed. Kindly subscribe for more tutorials.
Рекомендации по теме
Комментарии
Автор

Thanks for watching
Subscribe for more tutorials
For any clarification or question feel free to comment below.

larntech
Автор

Me salvaste amigo gracias!!!! Thank you!!!!
Psdta: Primer comentario en español :v

paolocardenas
Автор

Ohh thanks!! after 5hours trying to figure out why the example does not work.. finally! And thumbs up for java version;)

maunzyk
Автор

How can i include nav drawer in all activity that i created? Example in nav drawer when i click home, it shows the page of home. Then in the home i add a button or anything when i clicked it, it show new activity. And in that new activity I want to see a nav drawer and so

renalynraresa
Автор

first Thank you for the tutorial :)
how i can add on item click listener
try to do it in your android studio and you will see the problem i'm facing

zmemes
Автор

Hi Iarn great tutorial, and can you please assist

problem statement: I m selecting a user role from first Activity with 4 roles options--->carry role value as an intent to MainActivity(comes with Navigation drawer side menu + fragments(home, gallery... etc) same as your MainActivity ) and I m trying to receive/push the role from MainActivity to any Fragments that I switch to.

I triedreceiving

codingmafia
Автор

Hi, there is it possible to just use activities for this instead? I hate fragments.

dylanobyrne
Автор

not working...
Compiler do not shows any error but it perform no any actions .
What to do ?

deepakdhital
Автор

cant we add hamburger icon to this activity as there is hamburger icon we cant switch to other fragment

firtamusafir
Автор

Thanks for the video, please i have a problem, my coponent is a login activity so i should first remove my registration and singout my instance then show my login activity, i do that
if (id== R.id.nav_logout){
registration.remove();

finish();
}
but it doesn't work, any help please

sarahneliz
join shbcf.ru