Class BooleanViewHolder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      androidx.appcompat.widget.SwitchCompat switchView  
      android.widget.TextView textView  
      • Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

        itemView
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanViewHolder​(android.view.View itemView)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(ProfileAttribute attr)
      Method to bind and display the ProfileAttribute to the BaseAttributeViewHolder
      void setLabel​(java.lang.String text)
      Set item label
      void setValue​(java.lang.Boolean value)
      Set item value
      • 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