Type Parameters:
T - The type of the data this adapter will receive.
VB - The type of the dynamic recycler view binder.
Direct Known Subclasses:
SimpleQueryBinderAdapter

public abstract class SimpleDataBinderAdapter<T,VB extends DynamicRecyclerViewBinder<?>> extends DynamicSimpleBinderAdapter<VB>
A DynamicSimpleBinderAdapter to handle the generic data that can be used with the DynamicDataBinder.
  • Constructor Details

    • SimpleDataBinderAdapter

      public SimpleDataBinderAdapter()
  • Method Details

    • getItemCount

      public int getItemCount()
      Overrides:
      getItemCount in class DynamicSimpleBinderAdapter<VB extends DynamicRecyclerViewBinder<?>>
    • getData

      @Nullable public T getData()
      Get the data used by this binder adapter.
      Returns:
      The data used by this binder adapter.
    • setData

      public void setData(@Nullable T data)
      Set the data for this binder adapter.
      Parameters:
      data - The data to be set.
    • setData

      public void setData(@Nullable T data, int position)
      Set the data for this binder adapter.
      Parameters:
      data - The data to be set.
      position - The binder position to be notified.