Esempio n. 1
0
 @Override
 public void onResume() {
   super.onResume();
   if (isNeedUpdateData) {
     isNeedUpdateData = false;
     refreshEvents();
   }
 }
Esempio n. 2
0
 public void handleMessage(Message msg) {
   super.handleMessage(msg);
   @SuppressWarnings("unchecked")
   ArrayList<FDEvent> newEvents = (ArrayList<FDEvent>) msg.obj; // 		
   if (events == null) {
     events = new ArrayList<FDEvent>();
   } else {
     events.clear();
   }
   if (newEvents != null) {
     events.addAll(newEvents);
   }
   if (calendarComponent != null) calendarComponent.checkEvents(events, mSocialEvents);
   if (eAdapter != null) eAdapter.notifyDataSetChanged();
 }
Esempio n. 3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   getActivity().unregisterReceiver(updatesGroupMsgReceiver);
 }
Esempio n. 4
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
 }