load images dynamically on scroll in blackberry
Posted
by Maneesh
on Stack Overflow
See other posts from Stack Overflow
or by Maneesh
Published on 2010-03-25T12:51:27Z
Indexed on
2010/03/26
5:33 UTC
Read the original article
Hit count: 432
How to display images in the form of pages where only one page is displayed at a time on blackberry screen. On scrolling down subsequent images will load at run time. So that loading of images do not consume time at startup.
Edit: I am using loadimage function which loads images from blackberry device memory which loads images from specified path and resizing them.As number of images increases, it increases the startup time during opening of window.There is an in-built application(Media) in blackberry phone, where images load without taking any extra time. My idea is to display particular number of images which fit to the blackberry screen. As user scroll down to bottom of screen, application will then load and display more images. So my question is how to detect when user reached to bottom of blackberry screen and display one more row images.
© Stack Overflow or respective owner