No video

Navigation Component | Android Jetpack | Android

  Рет қаралды 49,583

Mafia Codes

Mafia Codes

Күн бұрын

In this video we’ll use the Navigation component in Android Jetpack to implement navigation in your app.
As the name suggests this component handles the navigation of the app and its also easy to use.
🚀Deploy NodeJs app: zeet.co/r/your...
(One FREE project forever 😘)
In 60 seconds • How to Deploy a NodeJs...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
Navigation: developer.andr...
Navigation(getting started): developer.andr...
Navigation(dependencies): developer.andr...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
Github(Tutorial): github.com/tru...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTruly #navigation #jetpack #androidX #java #programming #tutorial #how-to

Пікірлер: 118
@pstlvictoras
@pstlvictoras 4 жыл бұрын
Jesus Christ bro, I been looking for weeks for something proffesional like this.Good job!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@pstlvictoras
@pstlvictoras 4 жыл бұрын
@@mafiacodes already done man
@tejasjani2544
@tejasjani2544 3 жыл бұрын
@@mafiacodes my home fragment is splash screen. and i want to remove this from back stack please reply me
@manuelsilveriof
@manuelsilveriof Жыл бұрын
It's amazing how well explained this is. Better than the official documentation itself
@amitghosh3938
@amitghosh3938 4 жыл бұрын
Great! Never thought I will end up learning this strange thing in just one video
@mahmuduulkarimlincoln7932
@mahmuduulkarimlincoln7932 3 жыл бұрын
Everything I was searching in last one month.. I am getting the best video in your channel!!! Thanks a lot brothers!!! Wishing the best for your channel!!!
@hdkloh6857
@hdkloh6857 4 жыл бұрын
Simple, point to point explanation. This concept is nice but android team failed to explained to developers. Keep making such videos...
@mafiacodes
@mafiacodes 4 жыл бұрын
Thank you, subscribe like share...
@hdkloh6857
@hdkloh6857 4 жыл бұрын
@@mafiacodes Pls make a video on Activity to Activity, Fragment to Fragments, Fragment to Activity, Fragment to Child fragment communication. Because these are necessary things for beginners who struggles esp in Fragments.
@DUNIACARA
@DUNIACARA 3 жыл бұрын
Awesome. Because I'm looking Navigation tutorial with work on Java and only this course I found. Thanks, thanks a lot. 🤝
@jagadishlakkur191
@jagadishlakkur191 5 жыл бұрын
Realy hatsoff for your efforts..bro one the best channel for android development tutorials.. thankyou
@mirak474
@mirak474 3 жыл бұрын
Such a clear and simple introduction to a pretty difficult concept. Well done!
@HandsOnKnowledge
@HandsOnKnowledge 4 жыл бұрын
This was amazing, simple, concise and in Java just what I was looking for. Great work, liked and subscribed for more content
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks 😊
@VishalKumar-yw4dq
@VishalKumar-yw4dq 3 жыл бұрын
It was really nice explnation and scenario (Game example) taken to explain was perfect to explain the pop concepts.
@yadavramkesh9
@yadavramkesh9 4 жыл бұрын
Very good video Bro, you have cleared my doubt, now turns to test it practically.
@varunajaygupta
@varunajaygupta 3 жыл бұрын
Short and effective, exactly what I was looking for. Thanks man!!
@manikantadasar6554
@manikantadasar6554 3 жыл бұрын
Bro best best best channel... I was searching Udemy course on MVVM java but didn't found.. U did great job thanks man... Btw one suggestion please create separate playlist for MVVM
@bijoshmohan2728
@bijoshmohan2728 3 жыл бұрын
Very nice presentation..made the idea clear for me.Thanks a lot..
@stevensonicteam
@stevensonicteam 3 жыл бұрын
Really really like your videos bro...
@trulymittal
@trulymittal 2 жыл бұрын
Me watching my video again to learn 😀
@ananthkumar7943
@ananthkumar7943 5 жыл бұрын
Thank you for your valuable time to made Android jetpack tutorial really awesome your explanation also very easy to understanding , keep supporting for upcoming session 👍 keep continue...💐
@sayanthss5793
@sayanthss5793 3 жыл бұрын
Very good tutorial video that you are done
@ANKITKUMAR-ed9qj
@ANKITKUMAR-ed9qj 3 жыл бұрын
very nice explained 😊
@JEBJOSH
@JEBJOSH 4 жыл бұрын
Thank you for this tutorial. very clear and straight to the point. really grateful
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@prasanthmanimaran7540
@prasanthmanimaran7540 3 жыл бұрын
Holy shmokes.... this is what I was looking for. Thanks a ton, man. Subscribed.
@farhadnoori6299
@farhadnoori6299 4 жыл бұрын
damn that was a very clear, precise and awesome tutorial. Many thx.
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@mostafahassan5223
@mostafahassan5223 3 жыл бұрын
thank you please keep going in android
@mohammadfaisal8083
@mohammadfaisal8083 3 жыл бұрын
Thank you sir
@mahdiabdel-mageed4939
@mahdiabdel-mageed4939 4 жыл бұрын
you are very awesome man this is most clear, simple tutorial
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks subscribe like share
@animesuzumaki7094
@animesuzumaki7094 2 жыл бұрын
thanks for this video realy help for me
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@mohamedabbassi3036
@mohamedabbassi3036 3 жыл бұрын
thanks very much
@yousseffotouh5027
@yousseffotouh5027 4 жыл бұрын
Great Video , i would like a separate video on "Flame Layout" please XD
@mafiacodes
@mafiacodes 4 жыл бұрын
noted! subscribe like share...
@SKBeyaz
@SKBeyaz 2 жыл бұрын
It seems Nav graph mechanism is really unnecessary. There are to much work... Moreover, Traditional way is really simple. It seems google add this for similarity of IOS storyboard mechanism.
@mafiacodes
@mafiacodes 2 жыл бұрын
Yup I accept that, but sometimes it makes it easy to navigate
@diponkarsaha7912
@diponkarsaha7912 3 жыл бұрын
thanks
@ashoksahu7739
@ashoksahu7739 4 жыл бұрын
Very good and very simple please make video on MVVM
@user-up7zn7sn4f
@user-up7zn7sn4f 2 жыл бұрын
you are really awesome. Excellent in delivering information. I wish we could add Navigation Bar with this app ... thanks
@mafiacodes
@mafiacodes 2 жыл бұрын
You can: kzfaq.info/get/bejne/Y76IldF_yZzcn6s.html Subscribe like share
@husseinsiblani5352
@husseinsiblani5352 4 жыл бұрын
awesome video! couldn't have been explained better, just like you said. a breeze :)
@mafiacodes
@mafiacodes 4 жыл бұрын
Thanks 🙏 Subscribe like share😊
@user-rh7fg5gn4b
@user-rh7fg5gn4b 4 жыл бұрын
Very nice tutorial dear MAN! :)) thank you
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@mandeepkaurmahal1534
@mandeepkaurmahal1534 2 жыл бұрын
Thank you
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe like share
@kishanlalmeghwal8005
@kishanlalmeghwal8005 4 жыл бұрын
Nice and precise explanation ....
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share😊
@sivakiranaluri
@sivakiranaluri 2 жыл бұрын
simple and effective..I have one question Is it applicable for activities or only for fragments? Can i place activity in place of fragments over there?
@vickynegi1345
@vickynegi1345 4 жыл бұрын
Great video , thanks 🙏
@sumayaaldini7298
@sumayaaldini7298 4 жыл бұрын
it is good and clear , but if i want to add another button in the first fragment . how can i do ????
@mafiacodes
@mafiacodes 4 жыл бұрын
Like add and use navigation.navigate
@praveenmsp
@praveenmsp 4 жыл бұрын
I want that code on kotlin and searching for the code on description but there is nothing... putting the source code on the description is very useful for the viewers
@sabrinamuller586
@sabrinamuller586 2 жыл бұрын
Thank you! ❤️
@atulkumar9593
@atulkumar9593 2 жыл бұрын
Great Tutorial :)
@mafiacodes
@mafiacodes 2 жыл бұрын
Thank you! Cheers!
@atulkumar9593
@atulkumar9593 2 жыл бұрын
@@mafiacodes cheers!
@atulkumar9593
@atulkumar9593 2 жыл бұрын
Make tutorial for Hilt Dagger. It’s an important one😎
@mortezakolivand3479
@mortezakolivand3479 4 жыл бұрын
How to find out what the previous fragment was using the navigation? the previous fragment in navigation control I need to know, which fragment is my previous fragment when 3 fragments navigate to a fragment?
@bunhengborath7698
@bunhengborath7698 3 жыл бұрын
I got error that I don’t have NavController set ? Can anyone help me Please
@princechristopher7502
@princechristopher7502 2 жыл бұрын
hey did your error get fixed?
@harshavardhansuda8981
@harshavardhansuda8981 3 жыл бұрын
Hi I want your Android studio settings file I like your custom design of class variables and methods names
@mitch8204
@mitch8204 4 жыл бұрын
Super helpful. I got to understand the concept of popup behaviour from it. I need further clarification on the "launch option -single top". Any assistance with that, please?
@mafiacodes
@mafiacodes 4 жыл бұрын
developer.android.com/guide/topics/manifest/activity-element#lmode Read from: "The "standard" and "singleTop" modes differ from each other in just one respect: ......" I guess that would clarify your doubt incase it dosnt let me know. Subscribe like share...
@mukeshramharshyadav3255
@mukeshramharshyadav3255 4 жыл бұрын
New subscriber Man
@ajaykori3014
@ajaykori3014 4 жыл бұрын
Thanks 🙏🙇 bro for your awesome video
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@ajaykori3014
@ajaykori3014 4 жыл бұрын
@@mafiacodes your content is awesome after watching your video I did subscribe
@arkamondal6160
@arkamondal6160 4 жыл бұрын
Sir, how to work navigation component on the menu...
@mariajoseflores6167
@mariajoseflores6167 2 жыл бұрын
thank you
@hossamqandel5303
@hossamqandel5303 2 жыл бұрын
I can't thank u enough ❤️
@mafiacodes
@mafiacodes 2 жыл бұрын
Subscribe Like Share
@FastCodeDeveloper
@FastCodeDeveloper 4 жыл бұрын
Dude I can't override onViewCreated method. When I try to override it I get this -> error: method does not override or implement a method from a supertype
@FastCodeDeveloper
@FastCodeDeveloper 4 жыл бұрын
nevermind I got a letter wrong I typed "OnViewCreated" instead of "onViewCreated"
@takeshi8365
@takeshi8365 Жыл бұрын
Спасибо за видео, ты мне очень помог
@tejasjani2544
@tejasjani2544 3 жыл бұрын
my home fragment is splash screen. and i want to remove this from back stack please reply me
@mafiacodes
@mafiacodes 3 жыл бұрын
its there in the video
@anshsachdeva1061
@anshsachdeva1061 3 жыл бұрын
Hey mann what is the text colour theme you are using? looks very good with nice contrast
@mafiacodes
@mafiacodes 3 жыл бұрын
Google developers
@silambarasan_88
@silambarasan_88 4 жыл бұрын
Awesome, Thank you
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@pstlvictoras
@pstlvictoras 4 жыл бұрын
hey man, short question...do you know how to set navigation controller programmatically because when I navigate through application and I want to go back it retirects me to first fragment and I want to set another nav_home(also I have tried with popUpTo and did not work)
@beeatsound813
@beeatsound813 4 жыл бұрын
Thank you man!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@athukurianilkumar5352
@athukurianilkumar5352 2 жыл бұрын
same code I have written but back press is not working
@mafiacodes
@mafiacodes 2 жыл бұрын
This video will help kzfaq.info/get/bejne/Y76IldF_yZzcn6s.html
@nurshuvo3854
@nurshuvo3854 3 жыл бұрын
Great!
@misterpresident2981
@misterpresident2981 4 жыл бұрын
Thanks a looooot!!!!
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@akshatrawat7160
@akshatrawat7160 4 жыл бұрын
What is the difference between material navigation and jetpack navigation ? Material navigation is much more simpler to implement...
@mafiacodes
@mafiacodes 4 жыл бұрын
jetpack navigation is a component, which makes life easier since we do not have to do any fragment transactions, where as material navigation is only for UI stuff based on material design guidelines.
@japhethjay4880
@japhethjay4880 4 жыл бұрын
Thanks for the lesson bro, I love the sound of your keyboard what keyboard are u using bro and what key switches are those they sound amazing.
@mafiacodes
@mafiacodes 4 жыл бұрын
I have two of them dunno when I was using which one, both are mechanical: Redragon K551 Vara Razer Black Widow Elite (Green switches)
@japhethjay4880
@japhethjay4880 4 жыл бұрын
@@mafiacodes Well they do sound amazing and I was only listening through a video am sure listening to them live will be amazing.
@mafiacodes
@mafiacodes 4 жыл бұрын
Yup both are good, black widow is simply amazing 😉 but k551 is no less
@japhethjay4880
@japhethjay4880 4 жыл бұрын
@@mafiacodes well am in Africa, and got an ergodox with cherry mx blues on and its stuck in the US because it was shipped from China to the US for someone to bring home to me, but boarders are shutdown and all and am stuck waiting. Have a Corsair K70 gaming keyboard now with cherry mx browns, I think it gest the job done for now.
@yadavramkesh9
@yadavramkesh9 4 жыл бұрын
Well, the backpress case is not worked for me in navigation drawer, lets i have click menu 1 and its open home page( i.e fragment1). now i clicked on menu 2 and its open fragment 2. now i clicked on menu 3 and its open fragment 3. now we are at fragment 3, now when i did backpress, i want it should open home page (fragment 1), not fragment 2. so let me something about this Scenario. Thank you.
@mafiacodes
@mafiacodes 4 жыл бұрын
The fragment stack is the case
@yadavramkesh9
@yadavramkesh9 4 жыл бұрын
@@mafiacodes thank you for fast reply, Could you elaborate solution more ? actually i am starting in this.
@gr8monster
@gr8monster 5 жыл бұрын
Thank you🌹
@mafiacodes
@mafiacodes 5 жыл бұрын
Subscribe like share 😍
@prashantha2542
@prashantha2542 4 жыл бұрын
can we do same thing between the activites
@mafiacodes
@mafiacodes 4 жыл бұрын
you can, but that defeats the purpose of making a single activity application with different fragments.
@michelchable3535
@michelchable3535 4 жыл бұрын
And if I use two buttons?, what I do in function onClick?
@mafiacodes
@mafiacodes 4 жыл бұрын
I didn’t get what you’re trying to say
@ashishghorpade1676
@ashishghorpade1676 4 жыл бұрын
just set up OnClickListners for both the buttons like at 9:37 line 37 to 45
@fanysoft
@fanysoft 4 жыл бұрын
excelent
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share 😊
@kishorgurav7377
@kishorgurav7377 4 жыл бұрын
Ossm
@mafiacodes
@mafiacodes 4 жыл бұрын
Subscribe like share
@mohamedabdeltwab5331
@mohamedabdeltwab5331 5 жыл бұрын
Thanks Thanks Thanks Thanks
@NitishKumar-xo2wh
@NitishKumar-xo2wh 4 жыл бұрын
Copy of codelab tutorial 👎
Navigation Component and Action Bar | Android Jetpack | Android
9:26
Recycler View with complete explanation | Android
24:56
Mafia Codes
Рет қаралды 41 М.
UNO!
00:18
БРУНО
Рет қаралды 4,8 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 76 МЛН
Fragments with Jetpack Compose (Interoperability)
15:03
CodingWithMitch
Рет қаралды 41 М.
Jetpack Navigation Component in One Video
1:01:54
CodingWithMitch
Рет қаралды 167 М.
Jetpack Compose Navigation for Beginners - Android Studio Tutorial
19:23
Philipp Lackner
Рет қаралды 140 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 270 М.
Type-Safe Navigation with the OFFICIAL Compose Navigation Library
10:03
Navigation Component Crash Course - Android Kotlin Tutorial
36:45
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 42 М.
UNO!
00:18
БРУНО
Рет қаралды 4,8 МЛН