Package com.trimblemaps.navigation.ui
Interface NavigationButton
-
- All Implemented Interfaces:
public interface NavigationButton
-
-
Method Summary
Modifier and Type Method Description abstract voidaddOnClickListener(View.OnClickListener onClickListener)Adds an onClickListener to the button abstract voidremoveOnClickListener(View.OnClickListener onClickListener)Removes an onClickListener from the button abstract voidhide()Hides the button abstract voidshow()Shows the button abstract voidupdateStyle(@StyleRes() int styleRes)Use it to update the view style
-
-
-
Method Detail
-
addOnClickListener
abstract void addOnClickListener(View.OnClickListener onClickListener)
Adds an onClickListener to the button
- Parameters:
onClickListener- to add
-
removeOnClickListener
abstract void removeOnClickListener(View.OnClickListener onClickListener)
Removes an onClickListener from the button
- Parameters:
onClickListener- to remove
-
hide
abstract void hide()
Hides the button
-
show
abstract void show()
Shows the button
-
updateStyle
abstract void updateStyle(@StyleRes() int styleRes)
Use it to update the view style
- Parameters:
styleRes- style resource
-
-