Git Product home page Git Product logo

zahraheydari / locationservice Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 4.0 10.36 MB

A tiny foursquare which implemented using Foursquare APIs ,Koin, Coroutines, Moshi, Room, Retrofit, ViewBinding and Google play services location

Kotlin 100.00%
foursquare-api koin coroutines google-location-api locationservice broadcastreceiver coil-image-loader room-persistence-library offline-first clean-architecture

locationservice's Introduction

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

locationservice's People

Contributors

zahraheydari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.