Class EmptyViewHolder


  • public class EmptyViewHolder
    extends androidx.recyclerview.widget.RecyclerView.ViewHolder
    The View Holder for displaying an empty view
    • Field Summary

      Fields 
      Modifier and Type Field Description
      android.widget.TextView mEmptyTextView  
      • Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        itemView
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setEmptyMessage​(java.lang.String emptyMessage)
      Set empty message
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mEmptyTextView

        public android.widget.TextView mEmptyTextView
    • Method Detail

      • setEmptyMessage

        public void setEmptyMessage​(java.lang.String emptyMessage)
        Set empty message
        Parameters:
        emptyMessage - message to displaly when empty view is shown