예제 #1
0
 public override void OnBindViewHolder(Android.Support.V7.Widget.RecyclerView.ViewHolder
                                       holder, int position)
 {
     if (IsEmpty())
     {
         return;
     }
     mInnerAdapter.OnBindViewHolder(holder, position);
 }
예제 #2
0
 public override void OnBindViewHolder(Android.Support.V7.Widget.RecyclerView.ViewHolder holder, int position)
 {
     if (IsHeaderViewPos(position))
     {
         return;
     }
     if (IsFooterViewPos(position))
     {
         return;
     }
     mInnerAdapter.OnBindViewHolder(holder, position - GetHeadersCount());
 }
예제 #3
0
 public override void OnBindViewHolder(Android.Support.V7.Widget.RecyclerView.ViewHolder holder, int position)
 {
     if (IsShowLoadMore(position))
     {
         if (mOnLoadMoreListener != null)
         {
             mOnLoadMoreListener.OnLoadMoreRequested();
         }
         return;
     }
     mInnerAdapter.OnBindViewHolder(holder, position);
 }