RouteListingPreference.Builder


class RouteListingPreference.Builder


Builder for RouteListingPreference.

Summary

Public constructors

Creates a new instance with default values (documented in the setters).

Public constructors

Builder

Added in 1.6.0
Builder()

Creates a new instance with default values (documented in the setters).

Public functions

build

Added in 1.6.0
fun build(): RouteListingPreference

Creates and returns a new RouteListingPreference instance with the given parameters.

setItems

Added in 1.6.0
fun setItems(items: (Mutable)List<RouteListingPreference.Item!>): RouteListingPreference.Builder

See getItems

The default value is an empty list.

setLinkedItemComponentName

Added in 1.6.0
fun setLinkedItemComponentName(linkedItemComponentName: ComponentName?): RouteListingPreference.Builder

See getLinkedItemComponentName.

The default value is null.

setSystemOrderingEnabled

Added in 1.6.0
fun setSystemOrderingEnabled(systemOrderingEnabled: Boolean): RouteListingPreference.Builder

See isSystemOrderingEnabled

The default value is true.