Class BaseMessageItemViewHolder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final View itemView
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      View messageContainerView() Returns the Message container that we can use to anchor UI based on its size and position.
      abstract Unit bindData(T data, MessageListItemPayloadDiff diff)
      Unit unbind()
      Unit onDetachedFromWindow() Called when this view holder and its' view were detached from window.
      Unit onAttachedToWindow() Called when this view holder and its' view were attached to window.
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait