Code example for SparseBooleanArray

Methods: append

0
            ctv.setTypeface(roboto.getTypeface(position));
            ctv.setOnClickListener(new OnClickListener() {
                @Override 
                public void onClick(View v) {
                    ctv.toggle();
                    checked.append(position, ctv.isChecked());
                } 
            }); 
            return view;
        } 
 
    } 
 
}