Skip to content

Implement Bottom Sheet Dialog, share data with parcelize, navigation fragment and work manager

Notifications You must be signed in to change notification settings

ichwansh03/example-app-architecture

Repository files navigation

Application Architecture

(on-develop)

Purpose

This repository contains the code for Application Component best practice such as broadcast receiver and foreground service.

Getting Started

Prerequisites

Make sure your Android device has API level 24 or higher.

Clone Project

To get started with the project, clone it using the following command:

git clone "https://github.com/ichwansh03/example-app-architecture.git"

Libraries Used

The following libraries are used in the project:

  • AndroidX Core-KTX - AndroidX Core library with Kotlin extensions for writing concise, idiomatic Kotlin code.
  • AndroidX AppCompat - AndroidX AppCompat library for providing backward compatibility for newer Android features on older devices.
  • Google Material Components - Material Design components by Google for creating a visually appealing and consistent user interface.
  • ConstraintLayout - Android's ConstraintLayout for creating flexible and responsive layouts.
  • AndroidX Lifecycle - AndroidX Lifecycle components for handling lifecycle-aware data in the ViewModel.
  • AndroidX Legacy Support - AndroidX Legacy Support library to support older Android features.

Project Architecture and Techniques

The Project follows the MVVM (Model-View-ViewModel) architectural pattern to clearly separate concerns. The ViewModel serves as a bridge between the UI (View) and the data (Model). Data operations are handled using a Repository pattern, which abstracts the data source from the ViewModel. Dependency Injection is implemented using Koin, allowing for easy management of dependencies and enabling better testability of classes. View Binding is used to bind UI components in layout files, providing type-safe access to these components. Coroutines Flow and State Flow are employed to handle asynchronous operations and data streams efficiently. This approach simplifies handling background tasks and data updates while providing a more reactive and responsive user experience.


Feel free to reach out if you have any questions or need further assistance with the project! Happy coding! 🚀

About

Implement Bottom Sheet Dialog, share data with parcelize, navigation fragment and work manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages