Code example for MultiAutoCompleteTextView

Methods: getText

0
	@Override 
	protected void onSave() 
	{ 
		FeedingEvent event = new FeedingEvent();
 
		event.setFoodName(mFoodName.getText().toString());
		event.setFeedingTime(getTime());
		event.setDrinkAmount(Long.valueOf(mDrinkAmount.getText().toString()));
		event.setEatAmount(Long.valueOf(mEatAmount.getText().toString()));
		event.setMemo(mEventMemo.getText().toString());
		event.setTime(getTime());
		 
		EventDao dao = new EventDao();
		dao.save(event);
	} 
}