Hi all,

I am having a problem using pivot HashMap. Basically I have a class in which
I store a HashMap<string, object> and  retrieve a List from the
hashmap; the List is then displayed in a TableView.
All the operations are performed on the HashMap, so I must update the List
every time the hashmap is changed. I have implemented this simply using a
MapListener, which pushes the changes to the map into the list. So far so
good.
The problem is, at some point the hashmap is rehashed and this triggers the
MapListener which I don't want
or I end up with a list which is all wrong. I might solve the problem by
creating a hashmap with a very large capacity, so rehash is never called,
but that's not really a solution.

Any help is appreciated.
Lello


--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/HashMap-issue-tp2763110p2763110.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to