| com.steerpath.sdk.maps.DirectionSheet |
Known Indirect Subclasses
|
Class Overview
Interface definition for a callback to be invoked when full directions list is shown.
Summary
| Public Methods |
|
abstract
void
|
show(Context context, DirectionSheet.Data data)
DirectionSheet implementation is supposed to create and show a dialog containing full list of RouteSteps.
|
|
abstract
void
|
update(Context context, DirectionSheet.Data data)
update() is called in response to user's movements and provides DirectionSheet implementation chance to update
it's views based on given Data.
|
Public Methods
public
abstract
void
show
(Context context, DirectionSheet.Data data)
DirectionSheet implementation is supposed to create and show a dialog containing full list of RouteSteps.
BottomSheetDialog is recommended approach, but it can be regular Dialog or DialogFragment too.
show() is called when route step badge is clicked while navigation is ongoing.
App is supposed to call notifyDirectionSheetCanceled() when DirectionSheet is dismissed.
If not doing so, update() may be called before show().
Parameters
| data |
obtain RoutePlan, RouteStep etc other relevant info from here
|
public
abstract
void
update
(Context context, DirectionSheet.Data data)
update() is called in response to user's movements and provides DirectionSheet implementation chance to update
it's views based on given Data.
Parameters
| data |
obtain RoutePlan, RouteStep etc other relevant info from here
|