Skip to content
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.
Kotlin
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub CI workflow configuration Mar 24, 2020
app Remove unused functionalities Mar 25, 2020
gradle/wrapper Initial commit Mar 24, 2020
previews Update screenshot Mar 24, 2020
.gitignore Initial commit Mar 24, 2020
LICENSE Initial commit Mar 24, 2020
README.md Add an architecture design Mar 25, 2020
build.gradle Initial commit Mar 24, 2020
dependencies.gradle Remove unused dependencies Mar 24, 2020
gradle.properties Initial commit Mar 24, 2020
gradlew Initial commit Mar 24, 2020
gradlew.bat Initial commit Mar 24, 2020
settings.gradle Initial commit Mar 24, 2020
spotless.gradle Initial commit Mar 24, 2020
spotless.license.kt Initial commit Mar 24, 2020
versionsPlugin.gradle Initial commit Mar 24, 2020

README.md

MarvelHeroes

License API Build Status Profile

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


Download

Go to the Releases to download the lastest APK.

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based + Coroutines for asynchronous.
  • JetPack
    • LiveData - notify domain layer data to views.
    • 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.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Repository pattern
    • Koin - dependency injection.
  • Retrofit2 & Gson - construct the REST APIs.
  • OkHttp3 - implementing interceptor, logging and mocking web server.
  • Glide - loading images.
  • TransformationLayout - implementing transformation motion animations.
  • WhatIf - checking nullable object and empty collections more fluently.
  • DiscreteScrollView - implementing a scrollable list of items.
  • Timber - logging.
  • Material-Components - Material design components like ripple animation, cardView.

Architecture

MarvelHeroes is based on MVVM architecture and a repository pattern.

architecture

Find this repository useful? ❤️

Support it by joining stargazers for this repository. ⭐️
And follow me for my next creations! 🤩

License

Designed and developed by 2020 skydoves (Jaewoong Eum)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.