conversations-classic/src/main/java/eu/siacs/conversations/ui/adapter
eta b4805ac2c5 Remove the ListSelectionManager / message body selection (fixes memory leak!)
- When the `viewHolder.messageBody` `TextView` created by a `MessageAdapter` is
  set to selectable, it leaks an `android.widget.Editor` (because that editor
  registers a view observer that never gets unregistered).
  - This memory leak is really quite problematic, as the message adapter is used
    a lot!
- Having the text be selectable is useless anyway, though; there isn't any way
  to select it (because long pressing just opens the context menu anyway).
  - It looks like the ListSelectionManager was meant to track selections across
    multiple messages. However, I'm not sure this feature ever gets used.
- Accordingly, this commit removes the entire feature, thus fixing the memory
  leak (since no `Editor` objects are ever created).
  - It should also reduce memory usage in general, since we aren't attaching an
    `Editor` to every single textview we create.
  - A `TextView` only allocates an `Editor` if you ask it to do certain things,
    like make the text selectable or register custom selection callbacks.
2020-10-05 11:33:12 +00:00
..
AccountAdapter.java show escaped jid in most of the UI 2020-05-15 18:22:04 +02:00
ChannelSearchResultAdapter.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
ConversationAdapter.java allow to pin conversations on top. fixes #3480 2020-05-16 12:10:26 +02:00
KnownHostsAdapter.java rework quicksy domain checks 2020-06-13 08:26:32 +02:00
ListItemAdapter.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
MediaAdapter.java add icons for gpx files 2020-07-19 21:27:43 +02:00
MediaPreviewAdapter.java ability to open files from media preview. fixes #3521 2019-09-29 02:00:06 +02:00
MessageAdapter.java Remove the ListSelectionManager / message body selection (fixes memory leak!) 2020-10-05 11:33:12 +00:00
PresenceTemplateAdapter.java wip: new status message dialog 2018-03-07 22:30:36 +01:00
UserAdapter.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
UserPreviewAdapter.java add context menu for muc user adapter 2019-01-26 20:31:52 +01:00