Code example for SparseBooleanArray

Methods: keyAtsizevalueAt

0
	// 20100616 withwind.park bug fix start 
    public void deleteSelectedExcuseMessage(String whereArgs) {
    	 
    	SparseBooleanArray sba = mListView.getCheckedItemPositions();
    	 
    	for (int i=0; i < sba.size();i++)
    	{ 
    		if (sba.valueAt(i))
    		{ 
    			mCursor.moveToPosition(sba.keyAt(i));
				_id = mCursor.getInt(mCursor.getColumnIndexOrThrow("_id"));
				 
				whereArgs += " or _id=" + _id;
    		} 
    	} 
 
    	 
    	// 20100614 withwind.park use dbOpen method 
    	if (!myDatabase.isOpen()) dbOpen();
    	 
Contextual code suggestions in your IDE  Get Codota for Java