项目作者: sergio11

项目描述 :
Android {JSON} Placeholder Prototyping App
高级语言: Kotlin
项目地址: git://github.com/sergio11/android_jsonplaceholder_prototyping_app.git
创建时间: 2020-11-28T19:29:11Z
项目社区:https://github.com/sergio11/android_jsonplaceholder_prototyping_app

开源协议:GNU General Public License v3.0

下载


Android {JSON} Placeholder Prototyping App

Main Goals

  • Clean architecture approach.
  • Dependency injection through Dagger.
  • Asynchronous operations management with coroutines.
  • Using Material Design guidelines.
  • Using Jetpack Navigation to configure the navigation between screens.
  • Using local storage baseond on Jetpack Room Library to implement cache layer through repository pattern.
  • Testing with mockito-kotlin, assertj, junit, robolectric mock web server..

Points to be assess.

  • Post detail is retrieved only once, next calls get the information from local storage.

  • Also, I have configured a HTTP cache layer to give support to the ETAG mechanism. If a second post has the same author that has been retrieved before, is not necessary to get the same data again.

  • You can see with the Android Studio database inspector how the data is structured to persist locally.

  • Unit tests have been implemented to validate the logic implemented in the repository layer

Screenshots