Skip to content

Commit

Permalink
Update SmartLocation.java
Browse files Browse the repository at this point in the history
Add an option for setting the Locale parameter from outside

mrmans0n#257
  • Loading branch information
burekas7 authored Nov 26, 2018
1 parent bfefb04 commit 2feae0d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public GeofencingControl geofencing(GeofencingProvider geofencingProvider) {
public GeocodingControl geocoding() {
return geocoding(new AndroidGeocodingProvider());
}
public GeocodingControl geocoding(Locale locale) {
return geocoding(new AndroidGeocodingProvider(locale));
}


/**
* @param geocodingProvider geocoding provider we want to use
Expand Down

0 comments on commit 2feae0d

Please sign in to comment.