I am using PictureScrollField in my BlackBerry application to create a carousel-like feature. I'm also adding indicators at the bottom (circles) which shows which image out of the 5 in the carousel is being shown.
I update my indicator when I recieve a touchEvent (i.e as I'm dragging the scroll field) by grabbing the selectedImageIndex() and setting it into my indicator field to update the circular marker. However, it does not consider the fact that the scroll field is still scrolling so the index is off.
Is there an efficient way of doing this without using a timer to execute an update on the indicator field after letting go of the touchscreen while dragging the scroll field?