public LabelAdapter() {
labels = S.getDb().listAllLabels();
}</BUG>
@Override
public int getItemCount() {
<BUG>return 1 + labels.size();
</BUG>
}
@Override
public RecyclerView.ViewHolder onCreateViewHolder(final ViewGroup parent, final int viewType) {

final TextView text1;
public LabelHolder(final View itemView) {
super(itemView);
text1 = V.get(itemView, android.R.id.text1);
}
}
class LabelAdapter extends MaterialDialogAdapterHelper.Adapter {
private List<Label> availableLabels = S.getDb().listAllLabels();
@Override
public int getItemCount() {
return 1 + availableLabels.size();
}
@Override
public RecyclerView.ViewHolder onCreateViewHolder(final ViewGroup parent, final int viewType) {
