@Override public void onBindViewHolder(FermatViewHolder holder, int position) { if (holder instanceof AvailableActorsViewHolder) super.onBindViewHolder(holder, position); else if (holder instanceof LoadingMoreViewHolder) { loadingMoreViewHolder = (LoadingMoreViewHolder) holder; loadingMoreViewHolder.progressBar.setVisibility(loadingData ? View.VISIBLE : View.GONE); } }
@Override public void onBindViewHolder(FermatViewHolder holder, int position) { if (!isFooterPosition(position)) super.onBindViewHolder(holder, position); }