Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Super Contributor
SumiGhosh
Posts: 307
Registered: ‎09-20-2011
My Carrier: Vodafone

Redrawing the image in custom ListField

Hi all,

     I'm created a custom Listfield where i have an image(fetching from a url), header and desc. Initially i'm loading the list with dummy image and i want to replace the image with exact one that i fetched from the url. After showing the list i calling another function which gives me the bitmap, so after getting the bitmaps how will i redraw over my dummy image. Can anyone point me how can i achieve this.

Please use plain text.
Developer
arkadyz
Posts: 2,268
Registered: ‎07-08-2009
My Carrier: various

Re: Redrawing the image in custom ListField

Once you get the image for a certain row number, schedule its repaint with ListField.invalidate(rowNumber)

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Please use plain text.