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

public static class EmptyBinder.ViewHolder extends RecyclerView.ViewHolder
View holder to hold the empty view layout.
  • Constructor Details

    • ViewHolder

      public ViewHolder(@NonNull View view)
      Constructor to initialize views from the supplied layout.
      Parameters:
      view - The view for this view holder.
  • Method Details

    • getEmptyView

      @NonNull public DynamicEmptyView getEmptyView()
      Get the empty view for this view holder.
      Returns:
      The empty view for this view holder.
    • getIcon

      @Nullable public Drawable getIcon()
      Get the icon drawable used by the empty view.
      Returns:
      The icon drawable used by the empty view.