Package com.mapfactor.sdk.utils.ui
Class NavigateButton
java.lang.Object
ConstraintLayout
com.mapfactor.sdk.utils.ui.NavigateButton
public class NavigateButton
extends ConstraintLayout
Navigate menu button
- Since:
- 3.15
-
Constructor Summary
ConstructorDescriptionNavigateButton
(android.content.Context context, android.util.AttributeSet attrs) Class constructorNavigateButton
(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr) Class constructorNavigateButton
(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes) Class constructor -
Method Summary
-
Constructor Details
-
NavigateButton
public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayout- Since:
- 3.15
-
NavigateButton
public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayoutdefStyleAttr
- see androidx.constraintlayout.widget.ConstraintLayout- Since:
- 3.15
-
NavigateButton
public NavigateButton(@NonNull android.content.Context context, @NonNull android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes) Class constructor- Parameters:
context
- contextattrs
- see androidx.constraintlayout.widget.ConstraintLayoutdefStyleAttr
- see androidx.constraintlayout.widget.ConstraintLayoutdefStyleRes
- see androidx.constraintlayout.widget.ConstraintLayout- Since:
- 3.15
-
-
Method Details
-
initialize
public void initialize()Initializes the navigate button. Must be called to connect the button to Routing and Navigation engines.- Since:
- 3.15
-
cleanup
public void cleanup()Clean up. Must be called to disconnect the button from Routing and Navigation engines.- Since:
- 3.15
-