Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SimpleLocationListener #54

Merged
merged 1 commit into from
Jun 11, 2017
Merged

Conversation

yayaa
Copy link
Owner

@yayaa yayaa commented Jun 11, 2017

Provides a simple abstract class that you can override only onLocationChanged and onLocationFailed.

new SimpleLocationListener() {
      @Override
      public void onLocationChanged(Location location) {
            // Code when location has changed
      }

      @Override
       public void onLocationFailed(@FailType int type) {
            // Code when location couldn't be retrieved
        }
};

@yayaa yayaa added this to the v2.0.3 milestone Jun 11, 2017
@yayaa yayaa merged commit 1c41bed into master Jun 11, 2017
@yayaa yayaa deleted the yb/simple_location_listener branch June 11, 2017 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant