java.lang.Object
androidx.recyclerview.widget.RecyclerView.ViewHolder
com.pranavpandey.android.dynamic.support.recyclerview.binder.factory.ItemBinder.ViewHolder
Enclosing class:
ItemBinder

public static class ItemBinder.ViewHolder extends RecyclerView.ViewHolder
View holder to hold the dynamic item view layout.
  • Constructor Details

    • ViewHolder

      public ViewHolder(@NonNull View view, @IdRes int itemViewId)
      Constructor to initialize views from the supplied layout.
      Parameters:
      view - The view for this view holder.
      itemViewId - The item view id to be used.
  • Method Details

    • getDynamicItemView

      @NonNull public DynamicItemView getDynamicItemView()
      Get the dynamic item view for this view holder.
      Returns:
      The dynamic item view for this view holder.