Dash Stats Docs


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.


public AdViewHolder(View itemView)