Code example for SparseBooleanArray

Methods: clear

0
    } 
 
    @Override 
    public void clearChoices() { 
        if (mCheckStates != null) {
            mCheckStates.clear();
        } 
        if (mCheckedIdStates != null) {
            mCheckedIdStates.clear();
        } 
        mCheckedItemCount = 0;
    } 
 
    protected ContextMenuInfo createContextMenuInfo(View view, int position,
            long id) {
        return new AdapterContextMenuInfo(view, position, id);
    } 
 
    public Activity getActivity() {
        return mActivity;
    }