onItineraryItemChanged

Called when the itinerary item list is updated. This method updates the direction button UI based on the current state of the itinerary: - If My Location is in the list, sets the button text to "Navigate", otherwise "Preview". - Disables the button if any itinerary item has an empty name. - Enables and styles the button normally if all items are valid. Also updates the RecyclerView adapter and decoration size.

Parameters

items

The updated list of itinerary items.