Android Question customlistview & canvas

Discussion in 'Android Questions' started by KZero, Feb 3, 2015.

  1. KZero

    KZero Active Member Licensed 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
     
  2. Erel

    Erel Administrator Staff Member Licensed 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?
     
  3. KZero

    KZero Active Member Licensed User

    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
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload the complete project?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice