Table in LWUIT.
Hi, yes there's been a couple of posts on this subject but it never really cleared up the matter, hopefully we'll get it this time.
Goal: a table like structure that will display data which in turn will change (underlying model) and needs to be updated live with some cell animation.
In short, think of a table containing stock market values. These needs to be updated as you receive new data, the individual cells needs to be updated (values) and I need to flash the background of that cell to graphically indicate an update occurred.
I've tried my hand with 2 scenarios:
1. ) List vertically, representing a column (values from various stock items) where in this instance I can easily update values in the corresponding list cell through probably listening on dataChanged event listener.
2. ) List horizontally where the list represents a row. (a stock item with its values). Inside this list I have simple Labels, that I need to alter and then flag it to be animated.
Both of these are in a container with a BoxLayout.
Am I going in the right direction here, or would it be better to create some Grid component and implement the animations for data that changes.