Skip to content

Commit b229a9b

Browse files
committed
improve onRoutesChanged docs
1 parent 66da1f6 commit b229a9b

File tree

1 file changed

+2
-1
lines changed
  • libnavigation-core/src/main/java/com/mapbox/navigation/core/directions/session

1 file changed

+2
-1
lines changed

libnavigation-core/src/main/java/com/mapbox/navigation/core/directions/session/RoutesObserver.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import com.mapbox.navigation.core.MapboxNavigation
1111
fun interface RoutesObserver {
1212

1313
/**
14-
* Invoked whenever a list of routes changes.
14+
* Invoked whenever a list of routes changes and immediately when registered
15+
* (see [MapboxNavigation.registerRoutesObserver]) if non-empty routes are present.
1516
*
1617
* The route at index 0, if exist, will be treated as the primary route for 'Active Guidance'.
1718
*

0 commit comments

Comments
 (0)