Exemplo n.º 1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.invite_people_main);

    showLeftActionBtn(false);
    showRightActionBtn(false);
    showRightTextActionBtn(true);

    AddressPadMini.registerNoteActionListener(getClass().getName(), this);
    parseIntent();
    mFragmentManager = getSupportFragmentManager();
    mCurrentFragment = fragment_main;
    mPickFriendsFragment = new PickFriendsFragment();
    mFragmentManager
        .beginTransaction()
        .add(R.id.request_container, mPickFriendsFragment, PICK_MAIN_TAG)
        .commit();
    //		mHandler.post(new Runnable() {
    //    		@Override
    //    		public void run() {
    generateAllSelectData(receiveUserAdds);
    //    		}
    //    	});
  }
Exemplo n.º 2
0
 @Override
 protected void onDestroy() {
   if (mPickFriendsFragment != null) {
     mPickFriendsFragment.clearAddress();
   }
   AddressPadMini.unregisterNoteActionListener(getClass().getName());
   super.onDestroy();
 }