Package eltos.simpledialogfragment.form
Class Hint
java.lang.Object
eltos.simpledialogfragment.form.FormElement<Hint,eltos.simpledialogfragment.form.HintViewHolder>
eltos.simpledialogfragment.form.Hint
- All Implemented Interfaces:
android.os.Parcelable
A hint element to be used with
SimpleFormDialog
This is simple hint text
Created by philipp on 06.07.2018-
Nested Class Summary
-
Field Summary
Fields inherited from class eltos.simpledialogfragment.form.FormElement
NO_ID, required, resultKey
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneltos.simpledialogfragment.form.HintViewHolder
Return your custom implementation ofFormElementViewHolder
hereint
static Hint
plain
(int hint) static Hint
Factory method for a hint.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
Hint
public Hint() -
Hint
protected Hint(android.os.Parcel in)
-
-
Method Details
-
plain
Factory method for a hint.- Parameters:
hint
- the hint text- Returns:
- this instance
-
plain
-
buildViewHolder
public eltos.simpledialogfragment.form.HintViewHolder buildViewHolder()Description copied from class:FormElement
Return your custom implementation ofFormElementViewHolder
here- Specified by:
buildViewHolder
in classFormElement<Hint,
eltos.simpledialogfragment.form.HintViewHolder> - Returns:
- The view holder that can represent this form element
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classFormElement<Hint,
eltos.simpledialogfragment.form.HintViewHolder>
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
- Overrides:
describeContents
in classFormElement<Hint,
eltos.simpledialogfragment.form.HintViewHolder>
-