DashDestinationPreviewConfig

Configuration options for UI routing.

Parameters

categoriesSearchSkipDestinationPreview

If true, the Destination Preview from Categories search will be skipped and shown route preview immediately.

searchSkipDestinationPreview

If true, the Destination Preview from Search (Regular search and Dropping pin) will be skipped and shown route preview immediately.

favoritesAndSavedSkipDestinationPreview

If true, the Destination Preview from Favourites and Saved places will be skipped and shown route preview immediately.

historySkipDestinationPreview

If true, the Destination Preview from History will be skipped and shown route preview immediately.

titleSingleLine

If true, long Destination Preview titles will be truncated to only show a single line.

Functions

Link copied to clipboard
fun <T, B : DashConfigBuilder<T, B>> DashConfigBase<T, B>.copy(func: B.() -> Unit): T

Creates a copy of a given configuration instances with options mutated by the provided function.

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

Returns a new Builder instance with copied elements of this configuration.

Link copied to clipboard
open override fun toString(): String