Skip to content

An Android app with an onboarding screen built using MVVM architecture, Jetpack Compose, and DataStore for preference management.

Notifications You must be signed in to change notification settings

Bhavyansh03-tech/Onboarding_Screen

Repository files navigation

Onboarding Screen with MVVM and DataStore Preferences in Jetpack Compose

Overview

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.

Features

  • 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.

Usage

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.

Screenshots

First Screenshot Second Screenshot

Technologies Used

  • 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.

Installation

  1. Clone the repository:
    git clone https://github.com/Bhavyansh03-tech/Onboarding_Screen.git
  1. Open the project in Android Studio.
  2. Build and run the app on your Android device or emulator.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Create a new Pull Request.

Contact

For questions or feedback, please contact @Bhavyansh03-tech.


About

An Android app with an onboarding screen built using MVVM architecture, Jetpack Compose, and DataStore for preference management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages