DatePickerWheelPopup

public final class DatePickerWheelPopup extends BottomSheetDialogFragment

DatePickerWheelPopup is a class that extends BottomSheetDialogFragment and allows for date picker events

Parameters

context

the context of the application

Constructors

Link copied to clipboard

Types

Link copied to clipboard
public final class Builder

Builder is a class that builds a DatePickerWheelPopup

Link copied to clipboard
public interface DateSelectListener

DateSelectListener is an interface that listens for date picker events

Properties

Link copied to clipboard
private final Context context
Link copied to clipboard

listener is a DateSelectListener that listens for date picker events

Link copied to clipboard
private DatePicker picker

picker is a DatePicker that allows for date selection

Link copied to clipboard

selectedDate is a Long that tracks the selected date

Functions

Link copied to clipboard
private final Context getContext()
Link copied to clipboard

listener is a DateSelectListener that listens for date picker events

Link copied to clipboard
public final DatePicker getPicker()

picker is a DatePicker that allows for date selection

Link copied to clipboard
private final Long getSelectedDate()

selectedDate is a Long that tracks the selected date

Link copied to clipboard
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
Link copied to clipboard

listener is a DateSelectListener that listens for date picker events

setListener sets the listener for date picker events

Link copied to clipboard
public final Unit setPicker(DatePicker picker)

picker is a DatePicker that allows for date selection

Link copied to clipboard
private final Unit setSelectedDate(Long selectedDate)

selectedDate is a Long that tracks the selected date