I'll have a play and post when I get it working.

Thank you,

On 26/07/2011 9:44 PM, TreKing wrote:
On Tue, Jul 26, 2011 at 3:36 PM, Simon Platten <[email protected] <mailto:[email protected]>> wrote:

    Thank you, I know the bitmap has a recycle method, but how do you
    recycle the imageview?

    Do you get the drawable first then convert that to a bitmap before
    recycling ?


I assume in your adapter you do:

if (convertView != null)
 reuseImageView();

Or some such. In that reuse function, yes, you'd get the ImageView's drawable (which presumably you yourself set to a bitmap before) and cast it to a bitmap to be recycled.

Mostly guessing - I don't do much with Bitmaps.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to