
com.marvinlabs.widget.floatinglabel.instantpicker.InstantPicker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-floatinglabel-widgets Show documentation
Show all versions of android-floatinglabel-widgets Show documentation
A set of input widgets to show a floating label when not empty.
The newest version!
package com.marvinlabs.widget.floatinglabel.instantpicker;
import android.os.Parcelable;
/**
* Something that allows the user to pick an instant (date/time). This could be a dialog, ...
*
* Created by Vincent Mimoun-Prat @ MarvinLabs, 28/08/2014.
*
* @param The type of instant that can be picked
*/
public interface InstantPicker {
/**
* Get the unique ID for this picker
* @return
*/
public int getPickerId();
/**
* Set the instant that is initially selected by the user
*
* @param instant The instant
*/
public void setSelectedInstant(InstantT instant);
/**
* Get the instant currently selected
*
* @return an instant
*/
public InstantT getSelectedInstant();
/**
* Returns true if no instant has been picked
*
* @return
*/
public boolean isSelectionEmpty();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy