@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); } }
public void changeDataSet(EmptyCustomerBrokerNegotiationInformation negotiationInfo) { this.negotiationInformation = negotiationInfo; final List<ClauseInformation> items = buildListOfItems(); super.changeDataSet(items); }
@Override public void onBindViewHolder(FermatViewHolder holder, int position) { if (!isFooterPosition(position)) super.onBindViewHolder(holder, position); }