Code example for CheckedTextView

Methods: isChecked

0
        checkedTextView.setChecked(b);
    } 
 
    @Override 
    public boolean isChecked() { 
        return checkedTextView.isChecked();
    } 
 
    @Override 
    public void toggle() { 
        checkedTextView.toggle();
    } 
 
    public enum ImageType { 
        none,
        unpin,
        downloaded,
        downloading
    } 
}