Back to project page android-async-google-places.
The source code is released under:
Apache License
If you think the Android project android-async-google-places listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.github.axxiss.places; /*w w w . jav a 2s. c o m*/ /** * @author Axxiss */ public class PlacesSettings { private static final String TAG = "PlacesSettings"; private static PlacesSettings sInstance; /** * Google PlaceSearch API key. */ private String mApiKey; private PlacesSettings() { } public static PlacesSettings getInstance() { if (sInstance == null) { sInstance = new PlacesSettings(); } return sInstance; } public String getApiKey() { return mApiKey; } public void setApiKey(final String apiKey) { mApiKey = apiKey; } }