@@ -22,7 +22,7 @@ allprojects{
22
22
```
23
23
dependencies {
24
24
...
25
- implementation 'com.github.amitjangid80:multiutillib:v1.7.21 '
25
+ implementation 'com.github.amitjangid80:multiutillib:v1.7.3 '
26
26
}
27
27
```
28
28
@@ -43,7 +43,7 @@ dependencies {
43
43
<dependency>
44
44
<groupId>com.github.amitjangid80</groupId>
45
45
<artifactId>multiutillib</artifactId>
46
- <version>v1.7.21 </version>
46
+ <version>v1.7.3 </version>
47
47
<dependency>
48
48
```
49
49
@@ -711,6 +711,13 @@ switchButton.setOnSwitchListener(new SwitchButton.OnSwitchListener()
711
711
// this will check whether gps is enabled or not
712
712
GeoLocation . isGPSEnabled(Context context); // returns true or false
713
713
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
+
714
721
// following code is for getting latitude and longitude
715
722
double latitude = geoLocation. getLatitude();
716
723
double longitude = geoLocation. getLongitude();
@@ -739,13 +746,6 @@ String thoroughFare = geoLocation.getThoroughFare();
739
746
740
747
String subThoroughFare = geoLocation. getSubThoroughFare();
741
748
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
-
749
749
```
750
750
751
751
### FontHelper Class
0 commit comments