1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 08:52:18 -05:00
Yaaic/application
Steven Luo e07d99ed5d Remove views from DeckAdapter when corresponding conversation has gone missing
If a conversation disappears while the activity is paused (e.g. if the
user is kicked from a channel, or if another client attached to an
irssi-proxy has chosen to leave that channel), we currently aren't
removing the view from the DeckAdapter when we resume.  This results in
leaking a Conversation object until the user explicitly asks for the
conversation to be closed or the activity finishes, and is also
confusing because the user may not receive any indication that the
channel was parted in the first place.

There's a good case for leaving the MessageListView in place, with a
note indicating that the user has been kicked or parted from the
channel, but for that to work, we need to keep the Conversation object
in the server's list of conversations -- otherwise the behavior will
differ depending on whether the user left the activity via the Back
button or the Home button, which is counterintuitive.

For now, just remove the stale view from the DeckAdapter, which fixes
the leak and the potential user confusion.
2011-08-16 11:21:43 +02:00
..
.settings Adjusted code formatter (eclipse) 2011-01-15 23:49:25 +01:00
res Display "Not connected" in notification instead of no text when not connected 2011-08-16 11:21:33 +02:00
src/org Remove views from DeckAdapter when corresponding conversation has gone missing 2011-08-16 11:21:43 +02:00
.classpath Remove tagsoup dependency. Improve mIRC color code parsing speed. 2011-03-27 19:42:05 +02:00
.project Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
AndroidManifest.xml Bumped version number. Yaaic 0.9 2011-07-17 14:32:34 +02:00
build.properties Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
build.xml Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
default.properties Target and minimum SDK Version set to 4 (Android 1.6) 2011-02-19 21:09:44 +01:00