Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] #4700 - decouple location listener from UserLocationView - #4753

Merged
tobrun merged 1 commit into
masterfrom
4700-decouple-locationlistener-from-userlocationview
May 10, 2016
Merged

tobrun merged 1 commit into
masterfrom
4700-decouple-locationlistener-from-userlocationview

Conversation

@tobrun

@tobrun tobrun commented Apr 19, 2016

Copy link
Copy Markdown
Member

Closes #4700

This PR deprecates OnLocationChangeListener in favour of LocationListener.

Reasons why I'm suggesting deprecation:

  • we have 2 ways of listening to locational updates
  • difference between the two is only noticeable if you read the related javadoc
  • needed to decouple UserLocationView completely to allow a user provided implementation

👀 @bleege @zugaldia @cammace

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Apr 19, 2016
@tobrun tobrun added this to the android-v4.1.0 milestone Apr 19, 2016
@bleege

bleege commented Apr 26, 2016

Copy link
Copy Markdown
Contributor

Yep, let's settle on one type for this functionality for the entire SDK. LocationListener seems like the right choice for this.

@tobrun

tobrun commented May 8, 2016

Copy link
Copy Markdown
Member Author

@bleege thanks for the review. Going to rebase this and see if I can merge it.

@tobrun
tobrun force-pushed the 4700-decouple-locationlistener-from-userlocationview branch 2 times, most recently from 83cb301 to 970804a Compare May 10, 2016 08:41
@tobrun

tobrun commented May 10, 2016 •

Copy link
Copy Markdown
Member Author

CI has approved, going to reword the commit to deprecate OnLocationChangeListener (the code for removing the dependency of UserLocationView was handled elsewhere) and merge.

@tobrun
tobrun force-pushed the 4700-decouple-locationlistener-from-userlocationview branch from 970804a to 371d50b Compare May 10, 2016 09:33
@tobrun
tobrun merged commit 371d50b into master May 10, 2016
@tobrun
tobrun deleted the 4700-decouple-locationlistener-from-userlocationview branch May 10, 2016 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants