Den 12.07.2011 14:07, skrev Greg Brown:
OK. Out of curiosity, how to you write your code when you want to call
listView.getTableData().add(yourObject)?
You can either cast to a list of the appropriate type or maintain a typed
reference to the list data. If the getListData() method was parameterized, your
code above would also work.
I've been casting it to a list og appropriate type, but it looks so ugly :(
Yeah. Parameterizing the method would eliminate that cast. Seems like it might
be worth doing.
That would be a great help. Should I create a ticket?