@Override public void removeMember(User user) { service.removeMember(memberGroup, user, null); mMembers.remove(user); deleteMemberList.remove(user); user.isShowDelete = false; adapter.notifyDataSetChanged(); }
@Override protected void onDestroy() { deleteMemberList.clear(); mMembers.clear(); if (activityType == GROUP_MEMBER_TYPE_CROWD) { this.unregisterReceiver(localReceiver); } service.clearCalledBack(); super.onDestroy(); }