addOnRouteChangedListener

open fun addOnRouteChangedListener(listener: TravelbookManager.TripListener)

Add a TripListener to TravelbookManager to subscribe to trips event(s).

open fun addOnRouteChangedListener(listener: TravelbookManager.TripListener, @Nullable() executor: Executor)

Add a TripListener to TravelbookManager to subscribe to trips event(s).

Parameters

executor

Executor which will execute listener's callbacks