Class Hint

java.lang.Object
eltos.simpledialogfragment.form.FormElement<Hint,eltos.simpledialogfragment.form.HintViewHolder>
eltos.simpledialogfragment.form.Hint
All Implemented Interfaces:
android.os.Parcelable

public class Hint extends FormElement<Hint,eltos.simpledialogfragment.form.HintViewHolder>
A hint element to be used with SimpleFormDialog This is simple hint text Created by philipp on 06.07.2018
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<Hint> CREATOR
  • Constructor Details

    • Hint

      public Hint()
    • Hint

      protected Hint(android.os.Parcel in)
  • Method Details

    • plain

      public static Hint plain(String hint)
      Factory method for a hint.
      Parameters:
      hint - the hint text
      Returns:
      this instance
    • plain

      public static Hint plain(@StringRes int hint)
    • buildViewHolder

      public eltos.simpledialogfragment.form.HintViewHolder buildViewHolder()
      Description copied from class: FormElement
      Return your custom implementation of FormElementViewHolder here
      Specified by:
      buildViewHolder in class FormElement<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 interface android.os.Parcelable
      Overrides:
      writeToParcel in class FormElement<Hint,eltos.simpledialogfragment.form.HintViewHolder>
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
      Overrides:
      describeContents in class FormElement<Hint,eltos.simpledialogfragment.form.HintViewHolder>