Android project to demonstrate using Google Places API to search for bike shops near a particular location
- 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.
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.
- 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 >"
- The file needs to contain one line
- Build and run the project
- If you have any issues with
Binding
objects not being found: Build -> Clean Project followed by Build -> Rebuild Project