Bottom Nav Bar #03 | Material 3 | Jetpack Compose

  Рет қаралды 8,406

Okay Samurai | Code-Along

Okay Samurai | Code-Along

9 ай бұрын

🎉 Check Out Our Apps! 🎉
💸 Expense Tracker App (Play Store): bit.ly/Paywise
📚 English Dictionary App (Play Store): bit.ly/MavenEnglishDictionaryApp
➕📐 Math Formula App (Play Store): bit.ly/MathFormulaApp
🎶 Music by CreatorMix.com

Пікірлер: 24
@_okaySamurai
@_okaySamurai 7 ай бұрын
Expense Tracker App - play.google.com/store/apps/details?id=com.androidactivity.expensetracker
@alexiscoding
@alexiscoding 8 ай бұрын
This is awesome. Thank you
@aldourtusuastegui7717
@aldourtusuastegui7717 4 ай бұрын
amaizing!
@emmagetsu7369
@emmagetsu7369 8 ай бұрын
Muy buen video ❤
@luestar
@luestar 5 ай бұрын
Thank you ❤
@Shengdanya
@Shengdanya 6 ай бұрын
hey! I want to have a floating action button along with it. How can i have the button perform differently based on the screen it is currently on. For example, i have three sections: tasks, notes and grocery. when on the task screen i want to show a bottom sheet for adding task and when on the notes screen i want it to navigate to add notes screen.
@_okaySamurai
@_okaySamurai 6 ай бұрын
Add another Scaffold for each screen & add the FAB.
@farouktouil5036
@farouktouil5036 8 ай бұрын
Hi thank you for this Navigation demo code...Will you tell me please what is the name of the font family you are using and ? and is there something to configure for the code autocomplition you can advice about?
@_okaySamurai
@_okaySamurai 8 ай бұрын
Serif Font Family has been used. I have not done anything extra regarding code auto-compilation. I'm using Android Studio's default settings.
@emmagetsu7369
@emmagetsu7369 8 ай бұрын
excellent video but when I added a lazyGrid the bar stayed below how do I put it on top first
@_okaySamurai
@_okaySamurai 8 ай бұрын
You will find "paddingValues" in the Scaffold. Add the "paddingValues" in the LazyGrid's padding. I hope it will work.
@alimahdi1012
@alimahdi1012 12 күн бұрын
Hello, can you explain the selected parameter's logic for NavigationBarItem I did it as currentDestination.route == it.route and it works fine as intended Is there something wrong with my version?
@_okaySamurai
@_okaySamurai 12 күн бұрын
Check this updated video: kzfaq.info/get/bejne/iKdmeZt9rd60aHk.html
@RICHARDKOVARLIETZBTW-ye7gu
@RICHARDKOVARLIETZBTW-ye7gu 2 ай бұрын
Thanks for the tutorial, I implemented this for a project a few weeks ago. Had a quick question though since I’m super new to compose - if I want to have some data on the screens ‘save’ while jumping from one screen to another (like the selection of a drop-down menu, or the text in a search), what’s the best practice to do so? I’ve implemented a ‘SearchViewModel’ class that is instantiated the AppNavigation composable we made, and then I pass it into the SearchScreen, and so now, the data in there lives even when I jump from search composable to home back to search (since I guess it’ll keep living until we terminate app) Is this the right way to handle it? With view models? Cause I’m thinking of using a similar thing for another one of my screens to keep the data from resetting. Apologies for the long comment, thanks again.
@_okaySamurai
@_okaySamurai 2 ай бұрын
I have a video about ViewModel on my channel; check it out. ViewModel helps us survive configuration changes, such as rotation and theme changes. Using ViewModel is a good practice. Additionally, we can use rememberSaveable for the same purpose.
@RICHARDKOVARLIETZBTW-ye7gu
@RICHARDKOVARLIETZBTW-ye7gu 2 ай бұрын
@@_okaySamurai yeah I was checking out that video and a couple other ones yesterday while making the search one. Just wanted to confirm that I’m using them correctly, ik they’re mainly used for configuration changes but I guess they also fit in this scenario when I wanna save some data between screen changes
@_okaySamurai
@_okaySamurai 2 ай бұрын
As far as my knowledge is concerned, you're using it correctly.
@htilssu
@htilssu 4 ай бұрын
how can i change background of selected icon
@_okaySamurai
@_okaySamurai 4 ай бұрын
I'm not sure about that. Try to find the color parameter in the Composable functions.
@amitghasoliya
@amitghasoliya 4 ай бұрын
i know, go to themes, add colorSecondaryContainer item with required color🫡
@user-rw3oe8zm3q
@user-rw3oe8zm3q 3 ай бұрын
Thanks , can u please share the github repo
@_okaySamurai
@_okaySamurai 3 ай бұрын
You're welcome. This is a code-along video. I haven't uploaded it to Github.
@pavlo1374
@pavlo1374 8 ай бұрын
This video was very helpful. Ty! Do u have a discord to get in touch with u?
@_okaySamurai
@_okaySamurai 8 ай бұрын
I have my mail id in the about section. Feel free to reach out.
All Enter-Exit Transitions with Navigation | Jetpack Compose | Code Along
16:14
Okay Samurai | Code-Along
Рет қаралды 552
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 54 МЛН
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 4 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 23 МЛН
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
Bottom Navigation Bar With Badges - UX With Material3
13:17
Philipp Lackner
Рет қаралды 40 М.
Type-Safe Navigation with the OFFICIAL Compose Navigation Library
10:03
Bottom Navigation in Jetpack Compose  - #8
9:42
Ahmed Guedmioui
Рет қаралды 2,1 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 720 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 380 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 54 МЛН