Awesome, thanks watching the video now ! ----- Original Message ----- From: Girish Naik To: [email protected] Sent: Saturday, June 12, 2010 11:39 AM Subject: Re: [android-discuss] Optimizing Image display in ListViews
when itis out of view , it will be put in the garbage bin. FYI. http://www.youtube.com/watch?v=N6YdwzAvwOA Regards, --------------------------------------------------------- Girish Naik Mobile:-+91-09740091638 [email protected] On Sat, Jun 12, 2010 at 8:10 PM, paul zazzarino <[email protected]> wrote: Great ! how about when undisplayed so I can free the image ? ----- Original Message ----- From: Girish Naik To: [email protected] Sent: Saturday, June 12, 2010 10:35 AM Subject: Re: [android-discuss] Optimizing Image display in ListViews use a List adapter to show the listof object. in the List adapter use getView() method to show the view on screen. This getView method gets called when the cell is about to be visible. Regards, --------------------------------------------------------- Girish Naik Mobile:-+91-09740091638 [email protected] On Sat, Jun 12, 2010 at 7:49 PM, paul zazzarino <[email protected]> wrote: Displkaying image and text inside each ListView cell. Want to only allocate and display the image only if the cell is visible, For example LL is an image below which is visible on the devices display. Anyone run into this scenario ??? -------------- | @ text | -------------- | LL text | -------------- | LL text | -------------- | @ text | -------------- You would want to hook display and non-display events, then load or free the image. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
