Android Question customlistview & canvas

KZero

Active Member
Licensed User
Longtime User
Hello,

i have CustomListview filled with ~100 items
each item has 1 label , 5 Image views (32pxl) and 1 panel

its ok to add the 100 items once but the list has to be updated frequently so i get some lag on the old devices while updating the list

the question is
it will be much faster to draw canvas on each Item's panel without using any controls or just slightly improvement which not worth the big code modifications ?

thanks
 

KZero

Active Member
Licensed User
Longtime User
It is not the number of controls that make it slower.

How are you loading the bitmaps? Is each bitmap is a unique bitmap?

How are you loading the bitmaps?
i load all images into bitmap array on "OnCreate" event then pass the bitmap index to "CreateItem" function

Is each bitmap is a unique bitmap?
i have only 30 bitmap used for all items
 
Upvote 0
Top