disable click events on progress bar item

public boolean isEnabled(int position) {
// disable click events on the progress bar item.
return getItemViewType(position) == VIEW_TYPE_ACTIVITY;
}