Пример #1
0
 @Override
 public void propertyChange(PropertyChangeEvent event) {
   if (event.getPropertyName().equals(PropertyCenter.PROPERTY_CLOCK)) {
     Log.d(Clock.TAG, "AlarmListAdapter闹钟启动后重新设置闹钟,刷新列表");
     if (mAdapter != null) {
       mAdapter.notifyDataSetChanged();
     }
   }
 }
Пример #2
0
 public void onButton1(View view) {
   controller.deleteAll();
   mAdapter.notifyDataSetChanged();
 }