-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hide turn lanes, then step and clear banner instructions when banner …
…text is overridden
- Loading branch information
1 parent
65e5150
commit b5bd454
Showing
8 changed files
with
64 additions
and
14 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...src/main/java/com/mapbox/services/android/navigation/ui/v5/BannerInstructionsWrapper.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,21 @@ | ||
package com.mapbox.services.android.navigation.ui.v5; | ||
|
||
import com.mapbox.api.directions.v5.models.BannerInstructions; | ||
|
||
class BannerInstructionsWrapper { | ||
private final BannerInstructions bannerInstructions; | ||
private final boolean isBannerTextOverridden; | ||
|
||
BannerInstructionsWrapper(BannerInstructions bannerInstructions, boolean isBannerTextOverridden) { | ||
this.bannerInstructions = bannerInstructions; | ||
this.isBannerTextOverridden = isBannerTextOverridden; | ||
} | ||
|
||
public BannerInstructions getBannerInstructions() { | ||
return bannerInstructions; | ||
} | ||
|
||
public boolean isBannerTextOverridden() { | ||
return isBannerTextOverridden; | ||
} | ||
} |
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
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