Skip to content

Learning is a small demo application based on modern Android application tech-stacks and MVVM architecture

License

Notifications You must be signed in to change notification settings

SanjayMallur/Learning

Repository files navigation

Learning is a small demo application based on modern Android application tech-stacks and MVVM architecture.
Also fetching data from the network and integrating persisted data in the database via repository pattern.

Screenshots

Tablet version

Mobile version

Download release apk

Click here to download

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Koin for dependency injection.
  • JetPack
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct a database using the abstract layer.
    • Paging3 - for fetching items as with pages.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Android DataBinding kit for notifying data changes to UI layers.
    • Repository pattern
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Glide - loading images.
  • Material-Components - Material design components like ripple animation, cardView.

Offline and Caching

The list will be stored in the local database(Room) as we scroll through, when we don't have internet connection list will be updated from database. Also item's detailed information is stored when we click on it and available in offline mode

MAD Score

summary kotlin MadScore Link

Architecture

Learning is based on MVVM architecture and a repository pattern.

architecture

Open API

Learning using the PokeAPI for constructing RESTful API.
PokeAPI provides a RESTful API interface to highly detailed objects built from thousands of lines of data related to Pokémon.