Skip to content

Commit 0c75891

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 8bce963 + 1a5e436 commit 0c75891

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ allprojects{
2222
```
2323
dependencies {
2424
...
25-
implementation 'com.github.amitjangid80:multiutillib:v1.7.21'
25+
implementation 'com.github.amitjangid80:multiutillib:v1.7.3'
2626
}
2727
```
2828

@@ -43,7 +43,7 @@ dependencies {
4343
<dependency>
4444
<groupId>com.github.amitjangid80</groupId>
4545
<artifactId>multiutillib</artifactId>
46-
<version>v1.7.21</version>
46+
<version>v1.7.3</version>
4747
<dependency>
4848
```
4949

@@ -711,6 +711,13 @@ switchButton.setOnSwitchListener(new SwitchButton.OnSwitchListener()
711711
// this will check whether gps is enabled or not
712712
GeoLocation.isGPSEnabled(Context context); // returns true or false
713713

714+
// if you want to capture the address and latitude and longitude
715+
// after getting access to locations permission
716+
// then use *onRequestPermissionsResult* of the activity
717+
// and re-call this class as follows.
718+
// considering *geoLocation* is declared globally
719+
geoLocation = new GeoLocation(YourActivity.this);
720+
714721
// following code is for getting latitude and longitude
715722
double latitude = geoLocation.getLatitude();
716723
double longitude = geoLocation.getLongitude();
@@ -739,13 +746,6 @@ String thoroughFare = geoLocation.getThoroughFare();
739746

740747
String subThoroughFare = geoLocation.getSubThoroughFare();
741748

742-
// if you want to capture the address and latitude and longitude
743-
// after getting access to locations permission
744-
// then use *onRequestPermissionsResult* of the activity
745-
// and re-call this class as follows.
746-
// considering *geoLocation* is declared globally
747-
geoLocation = new GeoLocation(YourActivity.this);
748-
749749
```
750750

751751
### FontHelper Class

0 commit comments

Comments
 (0)