×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Listbox icon(array) caching

    Hello,
    I want to cache the icons from a listbox but there is no option to set the ownership of the array, like the setownership method for the text array. I see only two options to get the icon array cached:
    1.) don't delete the listbox object
    2.) overwrite the itemdrawer
    Are there better options to cache the icon array?

    Regards,

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: Listbox icon(array) caching

    Although ownership of the array is transferred unconditionally, you can still cache the icons themselves in a separate array or set of variables (since CGulIcon can be told that it does not own the bitmaps).

  3. #3
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Re: Listbox icon(array) caching

    thanks for the hint.

Similar Threads

  1. Replies: 2
    Last Post: 2005-07-25, 06:07
  2. caching of listbox entries
    By manojpd in forum Symbian User Interface
    Replies: 3
    Last Post: 2005-06-02, 15:40
  3. Replies: 0
    Last Post: 2005-04-19, 09:03
  4. ListBox icon array
    By Gingah in forum Symbian User Interface
    Replies: 9
    Last Post: 2004-10-14, 11:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×