Fixed chat room listener when in GroupChatFragment (this fragment onResume is called before the onPause of the previous one...)
This commit is contained in:
parent
1521d21af7
commit
128deb8791
2 changed files with 1 additions and 4 deletions
|
@ -110,9 +110,6 @@ public class ChatRoomsAdapter extends ListSelectionAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clear() {
|
public void clear() {
|
||||||
for (ChatRoom room : mRooms) {
|
|
||||||
room.setListener(null);
|
|
||||||
}
|
|
||||||
mRooms.clear();
|
mRooms.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue