PlaceDetailsUIStateV2

State of the Place Details UI.

Properties

Link copied to clipboard
val addingAs: String? = null

the favorite slot this place is being added to during a "set home/work" flow (FavoriteType.HOME or FavoriteType.WORK), or null outside of that flow.

Link copied to clipboard

the place being shown, or null when nothing is shown.

Link copied to clipboard

the favorite slots this place already occupies (any of FavoriteType.HOME, FavoriteType.WORK, FavoriteType.REGULAR); empty when it is not a favorite.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String