Пример #1
0
 public MsgFragment(ChattingMsgAdapter adapter) {
   cPeopleDAO =
       (ChattingPeopleDAO) PiLinApplication.getInstance().dabatases.get(CustomConst.DAO_CHATTING);
   chattPeopleService = new ChattPeopleService();
   this.adapter = adapter;
 }
Пример #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   PiLinApplication.putHandler("MsgFragment", handler);
   setListAdapter(adapter);
 }
Пример #3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   PiLinApplication.removeHandler("MsgFragment", handler);
 }