-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ApiKeyChangeListener interface * migrate RouterHttpHandler to pull api key * Migrate SearchHttpHandler to pull api key * Rm TmpHttpHandler class * Update map api key when updates in MapzenManager * better listener api
- Loading branch information
1 parent
bf93f44
commit 93b8385
Showing
21 changed files
with
265 additions
and
287 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
core/src/main/java/com/mapzen/android/core/ApiKeyChangeListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.mapzen.android.core; | ||
|
||
/** | ||
* Listener for handling changes to API key. | ||
*/ | ||
public interface ApiKeyChangeListener { | ||
/** | ||
* Called when the {@link MapzenManager}'s API key is changed. | ||
* @param apiKey the current API key | ||
*/ | ||
void onApiKeyChanged(String apiKey); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
184 changes: 0 additions & 184 deletions
184
core/src/main/java/com/mapzen/android/graphics/TmpHttpHandler.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.