Components not automatically repainting
I've been using LWUIT since 1.2, and currently using 1.4.
Early on in my project I would occasionaly run into some stubborn component that would not refresh/repaint itslelf properly, or layout the container properly.
So I had a few force container.layoutContainer(), component.repaint() kicking around.
Over the past 2 years or so I had increasingly more and more of these kind of issues, and no it seems that unless I manaualy force layouts and repaints after adding/removing anything, it just doesn't work.
I end up with custom lists, where I have form.getContentPane().repaint(); after adding or removing any component. Which is hugely expensive in some cases. (I work on low end devices)
So to compensate, I started painting to bitmaps and caching those.
Now even that is starting to get too expensive.
Is there something big that's changed since these early verisons, or am I missing somehting ?
Sorry I do not have a concrete example or demo midlet for this. Just wondering if anyone else has had these problems also ?