Code example for SQLiteCursor

Methods: getIntgetString

0
	          public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,
	              long arg3)
	          { 
	            /* getSelectedItem©Ò¨ú±oªº¬OSQLiteCursor */ 
	            SQLiteCursor sc = (SQLiteCursor) arg0.getSelectedItem();
	            _id = sc.getInt(0);
	            myEditText.setText(sc.getString(1));
	          } 
 
	          @Override 
	          public void onNothingSelected(AdapterView<?> arg0)
	          { 
 
	          } 
 
	        }); 
 
	  } 
 
	  private void addTodo() 
Connect your IDE to all the code out there  Get Codota for Java