-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
In v4 DirectionsRoute and its members were abstract classes. It means you could create data class MyLegStep(...., val myMetadata: Any) : LegStep(), put your own data here, and retrieve it on progress change.
But in v5 DirectionsRoute is data class. You cant store additional data here. On progress change you have only basic data, and have to store additinal route data elsewhere.
It it inconvenient and error prone. Please consider switching to interfaces or abstract classes, as before
Metadata
Metadata
Assignees
Labels
No labels