GuidedDatePickerAction.BuilderBase

public static abstract class GuidedDatePickerAction.BuilderBase
extends BuilderBase<B extends BuilderBase>

java.lang.Object
   ↳ androidx.leanback.widget.GuidedAction.BuilderBase<B extends androidx.leanback.widget.GuidedDatePickerAction.BuilderBase>
     ↳ androidx.leanback.widget.GuidedDatePickerAction.BuilderBase<B extends androidx.leanback.widget.GuidedDatePickerAction.BuilderBase>


Base Builder class to build GuidedDatePickerAction. Subclass this BuilderBase when app needs to subclass GuidedDatePickerAction, implement your build() which should call applyDatePickerValues(GuidedDatePickerAction). When using GuidedDatePickerAction directly, use GuidedDatePickerAction.Builder.

Summary

Public constructors

BuilderBase(Context context)

Public methods

B date(long date)

Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone.getDefault() time zone.

B datePickerFormat(String format)

Sets format of date Picker or null for default.

B maxDate(long maxDate)

Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone.getDefault() time zone.

B minDate(long minDate)

Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone.getDefault() time zone.

Protected methods

final void applyDatePickerValues(GuidedDatePickerAction action)

Apply values to GuidedDatePickerAction.

Inherited methods