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