Class DynamicPermissionsAdapter.ViewHolder

java.lang.Object
androidx.recyclerview.widget.RecyclerView.ViewHolder
com.pranavpandey.android.dynamic.support.permission.adapter.DynamicPermissionsAdapter.ViewHolder
Enclosing class:
DynamicPermissionsAdapter

public static class DynamicPermissionsAdapter.ViewHolder extends RecyclerView.ViewHolder
View holder to hold the permission root.
  • Constructor Details

    • ViewHolder

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

    • getRoot

      @NonNull public ViewGroup getRoot()
      Get the root view used by this view holder.
      Returns:
      The root view used by this view holder.
    • getInfoView

      @NonNull public DynamicInfoView getInfoView()
      Get the dynamic info view used by this view holder.
      Returns:
      The dynamic info view used by this view holder.