Skip to content

This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava2, LiveData, ViewModel and Databinding

License

Notifications You must be signed in to change notification settings

tuanthnguyen/android-mvvm-architecture

Repository files navigation

Android MVVM Architecture Sample

ktlint

This project handles paging images and supports offline mode.

How to build it

Thanks to Unsplash, this project uses their API to fetch beautiful images.

Note: I added the token in this project. You can try it now instead of doing the steps below.

  • Firstly, let's head to Unsplash's developer page to get your own API token.
  • Secondly, put it inside your build.gradle file as following:
buildConfigField "String", "UNSPLASH_TOKEN", "\"Client-ID *********\""

Libraries

  • AndroidX Support Library
  • AndroidX Architecture Components(Room, ViewModels, LiveData)
  • AndroidX Data Binding
  • RxJava2
  • Dagger2
  • Retrofit2

Contributing to Android MVVM Architecture

Just make pull request. You are in!

License

This project is available under the MIT license. See the LICENSE file for more info.

About

This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava2, LiveData, ViewModel and Databinding

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published