Skip to content

A simple Jetpack Compose Navigation sample demonstrating multi-screen navigation and data passing between screens. UI only — more functionality will be added later.

Notifications You must be signed in to change notification settings

Shantanupawar77/compose-navigation-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

📱 Jetpack Compose Navigation Sample

A simple and clean Jetpack Compose Navigation Demo App showing how to pass data between screens using the Navigation Compose library.
This project contains two screens and demonstrates UI state handling, argument passing, and navigation basics.

⚠️ Note: This project currently contains only UI and navigation logic.
Additional functionality and real use-cases will be added later.


📥 Download APK

You can download and test the app using the link below:

👉 APK Download: https://drive.google.com/file/d/1xY4rYA0d6I8oOKcjLkV3awMC8djaHDC4/view


🚀 Features

📌 Jetpack Compose UI

  • Modern UI built entirely using Jetpack Compose
  • Text inputs, buttons, and composable-based screens
  • Clean and simple UI layout for easy learning

🧭 Navigation Compose

  • Navigation between multiple screens
  • Passing arguments (String, Int) through routes
  • Retrieving arguments safely using arguments?.getString()
  • Navigation controller integrated with composable destinations

🏗️ Architecture

  • Compose-first structure
  • Stateless & stateful composables
  • UI state handled using remember + mutableStateOf()

🧠 How the App Works

🔹 First Screen

  • User enters name and age
  • On button click → navigates to Second Screen

🔹 Second Screen

  • Reads and displays name & age from route arguments
  • Provides button to navigate back to First Screen

📌 Future Enhancements

These features will be added later:

  • Real user input validation
  • State management with ViewModel
  • More screens + multi-step navigations
  • UI improvements (Material 3 styling)
  • Animations between screens
  • Form handling using advanced Compose APIs

🤝 Contributing

Feel free to fork this repository and experiment with more navigation scenarios.
Pull requests are welcome!


⭐ Support

If you found this example useful, please give it a ⭐ on GitHub to support the project.

About

A simple Jetpack Compose Navigation sample demonstrating multi-screen navigation and data passing between screens. UI only — more functionality will be added later.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages