belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
GuidedDatePickerAction.BuilderBase
public
static
abstract
class
GuidedDatePickerAction.BuilderBase
extends BuilderBase<B extends BuilderBase>
java.lang.Object | ||
↳ | android.support.v17.leanback.widget.GuidedAction.BuilderBase<B extends android.support.v17.leanback.widget.GuidedDatePickerAction.BuilderBase> | |
↳ | android.support.v17.leanback.widget.GuidedDatePickerAction.BuilderBase<B extends android.support.v17.leanback.widget.GuidedDatePickerAction.BuilderBase> |
Known Direct Subclasses |
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 | |
---|---|
GuidedDatePickerAction.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
|
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
|
B
|
minDate(long minDate)
Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in
|
Protected methods | |
---|---|
final
void
|
applyDatePickerValues(GuidedDatePickerAction action)
Apply values to GuidedDatePickerAction. |
Inherited methods | |
---|---|
From
class
android.support.v17.leanback.widget.GuidedAction.BuilderBase
| |
From
class
java.lang.Object
|
Public constructors
GuidedDatePickerAction.BuilderBase
GuidedDatePickerAction.BuilderBase (Context context)
Parameters | |
---|---|
context |
Context |
Public methods
date
B date (long date)
Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Parameters | |
---|---|
date |
long |
Returns | |
---|---|
B |
This Builder Object. |
datePickerFormat
B datePickerFormat (String format)
Sets format of date Picker or null for default. The format is a case insensitive String containing the day ('d'), month ('m'), and year ('y'). When the format is not specified, a default format of current locale will be used.
Parameters | |
---|---|
format |
String : Format of showing Date, e.g. "YMD". |
Returns | |
---|---|
B |
This Builder object. |
maxDate
B maxDate (long maxDate)
Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Parameters | |
---|---|
maxDate |
long |
Returns | |
---|---|
B |
This Builder Object. |
minDate
B minDate (long minDate)
Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Parameters | |
---|---|
minDate |
long |
Returns | |
---|---|
B |
This Builder Object. |
Protected methods
applyDatePickerValues
void applyDatePickerValues (GuidedDatePickerAction action)
Apply values to GuidedDatePickerAction.
Parameters | |
---|---|
action |
GuidedDatePickerAction : GuidedDatePickerAction to apply values.
|
Interfaces
- BaseGridView.OnKeyInterceptListener
- BaseGridView.OnMotionInterceptListener
- BaseGridView.OnTouchInterceptListener
- BaseGridView.OnUnhandledKeyListener
- BaseOnItemViewClickedListener
- BaseOnItemViewSelectedListener
- BrowseFrameLayout.OnChildFocusListener
- BrowseFrameLayout.OnFocusSearchListener
- FacetProvider
- FacetProviderAdapter
- FocusHighlight
- FragmentAnimationProvider
- ImeKeyMonitor
- ImeKeyMonitor.ImeKeyListener
- MultiActionsProvider
- OnActionClickedListener
- OnChildLaidOutListener
- OnChildSelectedListener
- OnItemViewClickedListener
- OnItemViewSelectedListener
- PlaybackSeekUi
- SearchBar.SearchBarListener
- SearchBar.SearchBarPermissionListener
- SearchEditText.OnKeyboardDismissListener
- SpeechRecognitionCallback
- TitleViewAdapter.Provider
- ViewHolderTask
Classes
- AbstractDetailsDescriptionPresenter
- AbstractDetailsDescriptionPresenter.ViewHolder
- AbstractMediaItemPresenter
- AbstractMediaItemPresenter.ViewHolder
- AbstractMediaListHeaderPresenter
- AbstractMediaListHeaderPresenter.ViewHolder
- Action
- ArrayObjectAdapter
- BaseCardView
- BaseCardView.LayoutParams
- BaseGridView
- BrowseFrameLayout
- ClassPresenterSelector
- ControlButtonPresenterSelector
- CursorObjectAdapter
- DetailsOverviewLogoPresenter
- DetailsOverviewLogoPresenter.ViewHolder
- DetailsOverviewRow
- DetailsOverviewRow.Listener
- DetailsOverviewRowPresenter
- DetailsOverviewRowPresenter.ViewHolder
- DetailsParallax
- DiffCallback
- DividerPresenter
- DividerRow
- FocusHighlightHelper
- FullWidthDetailsOverviewRowPresenter
- FullWidthDetailsOverviewRowPresenter.Listener
- FullWidthDetailsOverviewRowPresenter.ViewHolder
- FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener
- FullWidthDetailsOverviewSharedElementHelper
- GuidanceStylist
- GuidanceStylist.Guidance
- GuidedAction
- GuidedAction.Builder
- GuidedAction.BuilderBase
- GuidedActionDiffCallback
- GuidedActionEditText
- GuidedActionsStylist
- GuidedActionsStylist.ViewHolder
- GuidedDatePickerAction
- GuidedDatePickerAction.Builder
- GuidedDatePickerAction.BuilderBase
- HeaderItem
- HorizontalGridView
- HorizontalHoverCardSwitcher
- ImageCardView
- ItemAlignmentFacet
- ItemAlignmentFacet.ItemAlignmentDef
- ItemBridgeAdapter
- ItemBridgeAdapter.AdapterListener
- ItemBridgeAdapter.ViewHolder
- ItemBridgeAdapter.Wrapper
- ItemBridgeAdapterShadowOverlayWrapper
- ListRow
- ListRowHoverCardView
- ListRowPresenter
- ListRowPresenter.SelectItemViewHolderTask
- ListRowPresenter.ViewHolder
- ListRowView
- MultiActionsProvider.MultiAction
- ObjectAdapter
- ObjectAdapter.DataObserver
- OnChildViewHolderSelectedListener
- PageRow
- Parallax
- Parallax.FloatProperty
- Parallax.IntProperty
- Parallax.PropertyMarkerValue
- ParallaxEffect
- ParallaxTarget
- ParallaxTarget.DirectPropertyTarget
- ParallaxTarget.PropertyValuesHolderTarget
- PlaybackControlsRow
- PlaybackControlsRow.ClosedCaptioningAction
- PlaybackControlsRow.FastForwardAction
- PlaybackControlsRow.HighQualityAction
- PlaybackControlsRow.MoreActions
- PlaybackControlsRow.MultiAction
- PlaybackControlsRow.OnPlaybackProgressCallback
- PlaybackControlsRow.PictureInPictureAction
- PlaybackControlsRow.PlayPauseAction
- PlaybackControlsRow.RepeatAction
- PlaybackControlsRow.RewindAction
- PlaybackControlsRow.ShuffleAction
- PlaybackControlsRow.SkipNextAction
- PlaybackControlsRow.SkipPreviousAction
- PlaybackControlsRow.ThumbsAction
- PlaybackControlsRow.ThumbsDownAction
- PlaybackControlsRow.ThumbsUpAction
- PlaybackControlsRowPresenter
- PlaybackControlsRowPresenter.ViewHolder
- PlaybackRowPresenter
- PlaybackRowPresenter.ViewHolder
- PlaybackSeekDataProvider
- PlaybackSeekDataProvider.ResultCallback
- PlaybackSeekUi.Client
- PlaybackTransportRowPresenter
- PlaybackTransportRowPresenter.ViewHolder
- Presenter
- Presenter.ViewHolder
- Presenter.ViewHolderTask
- PresenterSelector
- PresenterSwitcher
- RecyclerViewParallax
- RecyclerViewParallax.ChildPositionProperty
- Row
- RowHeaderPresenter
- RowHeaderPresenter.ViewHolder
- RowHeaderView
- RowPresenter
- RowPresenter.ViewHolder
- SearchBar
- SearchEditText
- SearchOrbView
- SearchOrbView.Colors
- SectionRow
- ShadowOverlayContainer
- ShadowOverlayHelper
- ShadowOverlayHelper.Builder
- ShadowOverlayHelper.Options
- SinglePresenterSelector
- SparseArrayObjectAdapter
- SpeechOrbView
- TitleHelper
- TitleView
- TitleViewAdapter
- VerticalGridPresenter
- VerticalGridPresenter.ViewHolder
- VerticalGridView