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() 
Stop searching for code, let great code find you!  Add Codota to your java IDE