Ejemplo n.º 1
0
 public void bindEvent(Event event) {
   mEvent = event;
   mTitleTextView.setText(mEvent.getTitle());
   mDescriptTextView.setText(mEvent.getDescription());
   mLocTextView.setText(mEvent.getLoc());
   mDateTextView.setText("Date: " + DateFormat.format("dd/MM/yyyy", mEvent.getDate()));
   mEvent = event;
   mTitleTextView.setText(mEvent.getTitle());
   mTimeTextView.setText("Time: " + DateFormat.format("hh:mm", mEvent.getTime()));
 }