OK - why not just create a Book object and pass a List<Book> to your ListView? 
Your Book class can have a getHashKey() method that you can use to get the 
directory name to use (though note that, in the JDK at least, hash keys are not 
guaranteed to be unique, so you may end up with naming collisions).


On Dec 10, 2010, at 8:09 AM, lello wrote:

> 
> The case is quite simple. I have a collection of data (books for example) and
> I want to associate an hash key 
> to each element. I need the hash key because I want to use it as the name of
> a directory which can contain supplementary information on my data.
> -- 
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/HashMap-vs-List-in-a-ListView-tp2063310p2063356.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to