class RepositoryAdapter extends RecyclerView.Adapter<ViewHolder> implements Updatable {

  @Override
  public final int getItemCount() {
    if (dataInvalid) {
      reloadAllData();
      dataInvalid = false;
    }
    return endPositions[partCount - 1];
  }

  public  RepositoryAdapter(@NonNull final Builder builder);

}