×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    16

    Dynamically loding list items

    The task is: when i reach bottom of the list - dynamically load more items to list. How can I implement this?
    I'm using LCDUI with nokia asha sdk 1.0.
    Last edited by alexG21; 2013-07-13 at 18:48.

  2. #2
    Registered User
    Join Date
    Jul 2013
    Posts
    16

    Re: Dynamically loding list items

    As I understood, it is impossible. So the next question is what is the best way to display large amount of data, about 100 rows.
    Last edited by alexG21; 2013-07-14 at 15:49.

  3. #3
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: Dynamically loding list items

    I am not sure of how to do this in LCDUI, but it is possible to do it using LWUIT

    Refer:
    http://lwuit.blogspot.in/2008/08/mod...cts-march.html
    http://gadgets.coolman.ca/lazy-loadi...-codename-one/

  4. #4
    Registered User
    Join Date
    Jul 2013
    Posts
    16

    Re: Dynamically loding list items

    Found solution. It's a bit tricky, but it works.
    Add CustomItem as the last element to Form and implement showNotify() method
    protected void showNotify() {
    insert(size()-1, *your item*);
    }

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Dynamically loding list items

    apart from this i like the way nokia store has been implemented, they have next or previous button and when user clicks they append the data to the model, and i think this can be done in both LWUIT and LCDUI.

  6. #6
    Registered User
    Join Date
    Jul 2013
    Posts
    16

    Re: Dynamically loding list items

    It's nice solution, but in this case you have to scroll then click instead of just scroll.

Similar Threads

  1. Replies: 6
    Last Post: 2010-12-03, 14:46
  2. list box and adding items dynamically
    By saaa_persistent in forum Symbian User Interface
    Replies: 5
    Last Post: 2009-03-30, 07:58
  3. How to Add menu items dynamically?
    By marvik_34 in forum Symbian User Interface
    Replies: 10
    Last Post: 2008-06-24, 03:27
  4. How to add items dynamically to the double pop menu style list box
    By vinayakak in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-12-07, 08:16
  5. add items dynamically to listbox
    By AbuElElla in forum Symbian
    Replies: 2
    Last Post: 2005-07-18, 13:47

Posting Permissions

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