Skip to content

alicja-mruk/Skeleton-Koin

Repository files navigation

Koin Project

Installation

Just clone this repository, and import the project in Android Studio and sync with Gradle.

Building

Application implements Flavors and FlavorDimensions.

In order to build staging debug version invoke

./gradlew assembleStagingDebug

In order to build production debug version invoke

./gradlew assembleProductionDebug

Architecture

The project is created in MVVM architecture, which allows separating the user interface logic from the business logic.

MVVM has mainly the following layers:

  • Model Model represents the data and/or information.
  • ViewModel ViewModel interacts with model and also prepares observable(s) that can be observed by a View.
  • View View is to subscribe to a ViewModel to get data in order to update UI elements accordingly.

MVVM components and interaction between them:

Dependencies

Dependencies used in the application:

  1. Koin - service locator framework
  2. Gson - convert a JSON string to an equivalent Kotlin object
  3. Retrofit2 - HTTP client
  4. Mockito - mocking framework for unit tests

Releases

No releases published

Packages

No packages published

Languages