Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User pixsta's Avatar
    Join Date
    Apr 2008
    Posts
    437
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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
    Registered User pixsta's Avatar
    Join Date
    Apr 2008
    Posts
    437
    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. Caching or, rather no-caching issues with NOkia BRowsers
    By kuntaldas in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2005-02-16, 20:06
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved