Skip to content
/ Foodie Public

Demonstrate how to use MVVM to achieve clean architecture on Android

License

Notifications You must be signed in to change notification settings

cwliu/Foodie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foodie

List the top 100 restaurants nearby. This demo app is to demonstrate how to strcuture Android app under clean architecture principle.

App architecture

architecture

Tech stack

  • Programming language: Kotlin
  • Architecture pattern: Model-View-Viewmodel(MVVM)
  • Asynchronous Programming: RxJava2, Kotlin Coroutines
  • Dependency Injeciton: Dagger2
  • Network request: Retrofit
  • Android Architecture components: LiveData, Paging library

Setup

  1. Add your Zomato API key in your gradle.properties
zomato_api_key="<ZOMOTO_API_KEY>"

PS: you can also use my dev KEY for temopratry testing 4c1159fee21201ebbced7f642f3530b5

About

Demonstrate how to use MVVM to achieve clean architecture on Android

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages