Welcome to the repository for the ScreenNavigation Android application built using Jetpack Compose! This app is a simple navigation application that demonstrates the use of navigation components in Jetpack Compose. It's a fun and interactive way to explore the capabilities of Jetpack Compose. 😄🚀
- Uses
rememberNavControllerto remember aNavControllerthat survives configuration changes. - Uses
NavHostto host a navigation graph. TheNavHostincludes two routes: "first_screen" and "second_screen". - Each route uses the
PageBuildercomposable to build its page.
- Uses
rememberDrawerStateto remember aDrawerStatethat survives configuration changes. - Uses
rememberCoroutineScopeto remember aCoroutineScopethat survives configuration changes. - Uses
ModalNavigationDrawerto provide a navigation drawer. TheModalNavigationDrawerincludes aModalDrawerSheetwith twoNavigationDrawerItems. - Each
NavigationDrawerItemnavigates to "second_screen" when clicked. - Uses
Scaffoldto provide a layout structure for your app. TheScaffoldincludes aTopAppBar. - The
TopAppBarincludes aRowwith anIconButtonand aText. TheIconButtonopens the drawer when clicked. - The
Scaffold's content is aBoxthat displays the providedpageNamein the center.
- Clone this repository using
git clone https://github.com/KarthiDreamr/ScreenNavigation-Android-Jetpack.git - Open the project in Android Studio Arctic Fox or later
- Run the app on an emulator or a physical device
This project is licensed under the GNU General Public License (GPL-3.0). The GPL is a strong copyleft license that requires improvements to be shared back with the community. For more information, see the LICENSE file.


