Skip to content

Android project to demonstrate using Google Places API to search for bike shops near a particular location. Uses MVVM architecture, Data Binding, Navigation Component and Safe Args

Notifications You must be signed in to change notification settings

ldcomstock/mybikeshops

Repository files navigation

mybikeshops

Android project to demonstrate using Google Places API to search for bike shops near a particular location

Dependencies

  • Retrofit2 - REST Client for Android and Java.
  • Moshi - To parse JSON into Java objects and back (used with Retrofit).
  • Glide - Fast and efficient image loading library for Android.
  • OkHttp - Fast and efficient HTTP client for Android.

Setup

This app uses the Places API in the Google Maps platform. See here for instructions on how to create, restrict, and use your API Key for Google Maps Platform.

Running the app

  • Clone the repository open the project and open it in Android Studio
  • Once you have your API key, you will need to create a file apikey.properties at the root level of your project (the same level as the app folder and the README)
    • The file needs to contain one line PLACES_API_KEY="< your Places API key here >"
  • Build and run the project
  • If you have any issues with Binding objects not being found: Build -> Clean Project followed by Build -> Rebuild Project

About

Android project to demonstrate using Google Places API to search for bike shops near a particular location. Uses MVVM architecture, Data Binding, Navigation Component and Safe Args

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages