mrmans0n / smart-location-lib

Android library project that lets you manage the location updates to be as painless as possible
1.65k stars 353 forks source link

LocationGooglePlayServicesProvider compatible with Fragment #197

Open ivannarino opened 7 years ago

ivannarino commented 7 years ago

Added the ability to start SmartLocation.location(locationGooglePlayServicesProvider).start() from a Fragment and get the onActivityResult(int requestCode, int resultCode, Intent data) on the fragment itself.

Previously the activityResult was only called on the Activity.

LocationGooglePlayServicesWithFallbackProvider also modified to reflect this enhancement.

Updated Gradle android plugin to 2.3.1 Gradle updated to 3.3 Compatible with Jitpack.io Google Play Services updated to 10.2.1 Android Support Annotations updated to 25.3.1