This project demonstrates the implementation of an onboarding screen in an Android application using the MVVM architecture and Jetpack's DataStore for preference storage. The UI is built with Jetpack Compose.
- Onboarding screen with multiple steps.
- Data storage and retrieval using Jetpack DataStore Preferences.
- Implementation of MVVM architecture for separation of concerns.
- User entry tracking to determine if the onboarding screen should be displayed.
When the app is launched for the first time, the onboarding screen is displayed. Once the user completes the onboarding process, an entry is saved using DataStore. On subsequent launches, the app will check this entry and decide whether to show the onboarding screen again.
- Jetpack Compose: Modern toolkit for building native UI.
- MVVM (Model-View-ViewModel): Architectural pattern to separate UI and business logic.
- Jetpack DataStore: Storage solution for storing key-value pairs or typed objects.
- Clone the repository:
git clone https://github.com/Bhavyansh03-tech/Onboarding_Screen.git
- Open the project in Android Studio.
- Build and run the app on your Android device or emulator.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
For questions or feedback, please contact @Bhavyansh03-tech.