Companion

object Companion

Properties

CANCEL_BUTTON_TAG
Link copied to clipboard
val CANCEL_BUTTON_TAG: Any
CONFIRM_BUTTON_TAG
Link copied to clipboard
val CONFIRM_BUTTON_TAG: Any
INPUT_MODE_CALENDAR
Link copied to clipboard
const val INPUT_MODE_CALENDAR: Int = 0
Date picker will start with calendar view.
INPUT_MODE_TEXT
Link copied to clipboard
const val INPUT_MODE_TEXT: Int = 1
Date picker will start with input text view.
TOGGLE_BUTTON_TAG
Link copied to clipboard
val TOGGLE_BUTTON_TAG: Any

Functions

isFullscreen
Link copied to clipboard
fun isFullscreen(context: Context): Boolean
isNestedScrollable
Link copied to clipboard
fun isNestedScrollable(context: Context): Boolean
newInstance
Link copied to clipboard
fun <S> newInstance(options: MaterialDatePicker.Builder<S>): MaterialDatePicker<S>
readMaterialCalendarStyleBoolean
Link copied to clipboard
fun readMaterialCalendarStyleBoolean(context: Context, attributeResId: Int): Boolean
thisMonthInUtcMilliseconds
Link copied to clipboard
fun thisMonthInUtcMilliseconds(): Long
Returns the UTC milliseconds representing the first moment in current month in local timezone.
todayInUtcMilliseconds
Link copied to clipboard
fun todayInUtcMilliseconds(): Long
Returns the UTC milliseconds representing the first moment of today in local timezone.