add On Route Changed Listener
open fun addOnRouteChangedListener(listener: TravelbookManager.TripListener)
Content copied to clipboard
Add a TripListener to TravelbookManager to subscribe to trips event(s).
open fun addOnRouteChangedListener(listener: TravelbookManager.TripListener, @Nullable() executor: Executor)
Content copied to clipboard
Add a TripListener to TravelbookManager to subscribe to trips event(s).
Parameters
executor
Executor which will execute listener's callbacks