public void setData(int _id) { DBOperation_master db = new DBOperation_master(getApplicationContext(), TableName); data.Initialize(); data._ID = _id; db.getData(data); edit_name.setText(data.Name); db.close(); }
public void getData() { data.Name = edit_name.getText().toString(); }