项目作者: ZahraHeydari

项目描述 :
A tiny foursquare which implemented using Foursquare APIs ,Koin, Coroutines, Moshi, Room, Retrofit, ViewBinding and Google play services location
高级语言: Kotlin
项目地址: git://github.com/ZahraHeydari/LocationService.git
创建时间: 2020-12-04T09:56:52Z
项目社区:https://github.com/ZahraHeydari/LocationService

开源协议:

下载


TinySquare

A tiny mobile app which displays nearby places around user using Foursquare API.

The scenario

This app:

  • Displays the nearby places to the user based on the user current location in a list.
  • Presents a detail page for each place.
  • Displays cached data if user moves by 100m from the last retrieved location.
  • Presents Offline data when the internet is unavailable or user is still at the same location or nearby places are the same.
  • Updates the nearby places when user is replaced.
  • Displays an endless list of nearby places.
  • Checks the internet connection using NetworkStateBroadcastReceiver.

The way of implementation

This Android application implemented using Clean Architecture containing 3 main layers:

  1. Presentation (used MVVM pattern for this layer)
  2. Data
  3. Domain

The main dependencies:

  • Koin
  • Coroutines
  • Moshi
  • Room
  • LiveData
  • Coil (Image Loader)
  • ViewBinding
  • Google Play services location
  • Leak canary (memory leak identifier)

Author

Zahra Heydari