chienpao / Exam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exam by Pao

Software structure

  • MVP
  • DI

App Screenshot

image image

Use Library

  • Dagger2 for dependency injection
  • Rxjava2 for async task
  • Timber for log
  • Retrofit2 for API request
  • Okhttp3 for web client
  • Gson for api json parsing
  • Glide for showing image
  • Google Map SDK for mark deliver location in map

How to add Google map customize key

  1. Go to "https://cloud.google.com/maps-platform/" to apply the account
  2. Enable the Google map SDK service to the current project
  3. Download "google_maps_api.xml" file, and put into res/values folder
  4. Make sure AndroidManifest.xml already add "ACCESS_FINE_LOCATION" permission
  5. Make sure the google key copy from web is set in AndroidManifest.xml metadata as below,
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />
  1. Now we can start to use Google Map SDK!

Requirement

  • (Done) Source code must be stored in a Git repository
  • (Not yet) App should cache deliveries (Cached deliveries should be available offline) ---> Will use cursorLoader with Recycler to save cache in database
  • (Done) Should implement pagination, retrieve up to 20 items per page
  • (Done) Candidates are free to use any libraries
  • (Pass) Project must compile ./gradlew build

Additional functions

  • (Done) Handle no more deliveries scenario (will show message for user)

Future functions

  • Unit test
  • CI integration

Author

Powered by Pao (chienpao@chienpao.com)

About


Languages

Language:Kotlin 98.7%Language:Java 1.3%