bisq/desktop
chimp1984 57ec0dbc7e
Persist chat position. Improve listener handling.
- Store last position of the chat window so if it gets closed and opened
again it opens at the last position.

- Fix issues with the listener for new messages.
The handler was called multiple times before. Now its is called only
once. Tested with multiple trades and scrolling.

We use maps for each trade to avoid multiple listener registrations
when switching views. With current implementation we avoid that but we
do not remove listeners when a trade is removed (completed) but that
has no consequences as we will not receive any message anyway from a
closed trade. Supporting it more correctly would require more effort
and managing listener deactivation at screen switches (currently we
get the update called if we have selected another view.

This part can be improved if any dev feels motivated but its not
trivial...
2019-08-30 18:08:12 +02:00
..
package Revert to SNAPSHOT version 2019-08-08 10:34:06 +02:00
src Persist chat position. Improve listener handling. 2019-08-30 18:08:12 +02:00