[bisq-network/bisq] Persistence redesign (#4589)
chimp1984
notifications at github.com
Sun Oct 4 17:56:31 UTC 2020
@chimp1984 commented on this pull request.
> }
public PersistableList(List<T> list) {
- this.list = list;
+ setAll(list);
+ }
+
+ public void addListener(ListChangeListener<T> listener) {
+ ((ObservableList<T>) getList()).addListener(listener);
Yes, was moving the listeners later to the base class. But I think best here is to enforce observeable list as it is used anyway by all subclasses.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4589#discussion_r499271878
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201004/06605101/attachment.html>
More information about the bisq-github
mailing list