public 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”).Methods
public abstract Date get() | Returns the default date the picker should show when no explicit value has been set. |
Method details
get
public abstract Date get()Returns the default date the picker should show when no explicit
value has been set. Returning
null falls back to the framework
default (new Date()).