Рет қаралды 9,705
Learn Jetpack Compose in Android. Learn Navigation basics in Compose. Learn how to use savedstatehandle for accessing nav arguments in a viewmodel. We have used hiltViewModel() function to create viewmodels inside composable since we are using HILT to create viewmodels. NavArguments passed while navigating between screens in navigation component are also stored in SavedStateHandle. NavBackStackEntry class stores the navarguments in savedstatehandle while navigating between screens. Using this object, we can access the arguments inside viewmodels. Learn this step by step - how to setup navigation framework using Jetpack Compose Composable Functions.
Learn how to setup a project from scratch in this video. We will be covering a lot. Learn how to get the data using ChatGPT - good example of using ChatGPT for data curation. You can use this for any category of data you want. This is a simple example and opens a huge opportunity for you to add features. Learn how to define composables using best practices. Everything is explained in Hindi (हिन्दी)
Topics covered -
1. Setup Navigation in Jetpack Compose.
2. Navigate between Compose Screens.
3. How to pass nav arguments using SavedStateHandle.
4. Use of hiltViewModel(), create viewmodels in composable functions.
5. Jetpack Compose Project with MVVM setup video.
Jetpack Compose Series -
• Android Jetpack Compos...
Kotlin Flows Playlist -
• Kotlin Flows Tutorials
Jetpack Paging Tutorial -
• Android Paging 3 | Jet...
Complete Dependency Injection Playlist Link -
• Dagger 2 - Dependency ...
Complete Android Architecture Components Playlist -
• Android Architecture C...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit the below link
www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode