Interface Picker.DateGetter
- Enclosing class:
Picker
public static interface Picker.DateGetter
Functional interface that supplies the default
Date to display when a
date-type picker is opened without an explicit value. Evaluated lazily
each time the default is needed so it can return a value that depends
on state that changes after the picker is constructed (e.g. "one hour
before the current due date").- See Also:
-
Method Summary
-
Method Details
-
get
Date get()Returns the default date the picker should show when no explicit value has been set. Returningnullfalls back to the framework default (new Date()).
-