Currently I have this code on my presenter: ``` pr...
# android
j
Currently I have this code on my presenter:
Copy code
private void requestCurrentLocation(Activity activity) {
        if (isPermissionGranted(activity)) {
            getLocationManager().requestLocationUpdates(
                    NETWORK_PROVIDER,
                    LOCATION_REFRESH_TIME,
                    LOCATION_REFRESH_DISTANCE,
                    getLocationListener()
            );
        } else {
            uiCallback.requestPermissions();
        }
    }