Dash Stats Docs

AdRecyclerAdapter.AdViewHolder

public static class AdViewHolder extends RecyclerView.ViewHolder

Your ViewHolder class needs to extend AdViewHolder to be able to use AdRecyclerAdapter. The AdViewHolder makes sure there is room for ads in the RecyclerView. Because of the way RecyclerView.ViewHolder is implemented it is not possible to wrap a ViewHolder inside another ViewHolder, so we have to use inheritance.

Constructors

public AdViewHolder(View itemView)

Methods