Class DynamicPermissionsAdapter.ViewHolder
java.lang.Object
androidx.recyclerview.widget.RecyclerView.ViewHolder
com.pranavpandey.android.dynamic.support.permission.adapter.DynamicPermissionsAdapter.ViewHolder
- Enclosing class:
- DynamicPermissionsAdapter
View holder to hold the permission root.
-
Field Summary
Fields inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
itemView
-
Constructor Summary
ConstructorDescriptionViewHolder
(View view) Constructor to initialize views from the supplied root. -
Method Summary
Modifier and TypeMethodDescriptionGet the dynamic info view used by this view holder.getRoot()
Get the root view used by this view holder.Methods inherited from class androidx.recyclerview.widget.RecyclerView.ViewHolder
getAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
-
Constructor Details
-
ViewHolder
Constructor to initialize views from the supplied root.- Parameters:
view
- The view for this view holder.
-
-
Method Details
-
getRoot
Get the root view used by this view holder.- Returns:
- The root view used by this view holder.
-
getInfoView
Get the dynamic info view used by this view holder.- Returns:
- The dynamic info view used by this view holder.
-