CarListDialog

open class CarListDialog : Dialog
kotlin.Any
   ↳ android.app.Dialog
   ↳ androidx.car.app.CarListDialog

A subclass of Dialog that is tailored for the car environment. This dialog can display a fixed list of items. There is no affordance for setting titles or any other text.

Its functionality is similar to if a list has been set on androidx.appcompat.app.AlertDialog, but is styled so that it is more appropriate for displaying in vehicles.

Note that this dialog cannot be created with an empty list.

Summary

Nested classes

Builder class that can be used to create a CarListDialog by configuring the options for the list and behavior of the dialog.

Public methods
open Unit

open Unit

Protected methods
open Unit

open Unit
onCreate(savedInstanceState: Bundle!)

Public methods

setTitle

open fun setTitle(title: CharSequence!): Unit

setCanceledOnTouchOutside

open fun setCanceledOnTouchOutside(cancel: Boolean): Unit

Protected methods

onStop

protected open fun onStop(): Unit

onCreate

protected open fun onCreate(savedInstanceState: Bundle!): Unit