observePlaceDetailsUIUpdatedV2
fun NavManagerService.observePlaceDetailsUIUpdatedV2(activityName: String? = null): Flow<PlaceDetailsUIStateV2>
Emits new objects when detailed information about the SearchResult is shown or hidden. For example, when the user has performed search and then clicked one of the found results, and then clicked "Back".
In addition to the shown PlaceDetailsUIStateV2.place, this also reports the home/work slot the place is being added to (PlaceDetailsUIStateV2.addingAs) and the favorite slots it already occupies (PlaceDetailsUIStateV2.savedAs).
Parameters
activityName
The name of the activity the events of each must be observed. If null, events of the main activity will be observed. Event type: EventType.PLACE_DETAILS_UI_UPDATE_V2.id