Search code examples
lwuit

How to know which List is concerned in a selectionChanged if there are more than one Lists?


There are many List in my Form and they all call addSelectionListener. The problem is that the parameters of the abstract method selectionChanged are just (int oldSelected, int newSelected) ! So how to know which List was clicked ?


Solution

  • Use separate Listeners (one for each list)?