When using a drawable backed by a bitmap (BitmapDrawable), it makes no difference (just some abstraction). If you use a bitmap resource (R.drawable. ) it may be wise to use setImageDrawable rather than managing the bitmap decompression yourself. According to me setImageBitmap is to use when you load a bitmap dynamically (for example from a remote server).
On 25 déc, 05:02, Jeffrey <[email protected]> wrote: > It depends on if the image will need to be worked with. If the image > is unchanging use bitmap if it will be played with use drawable. > > On Dec 24, 10:46 am, Agus <[email protected]> wrote: > > > Which one these two ImageView methods is more efficient, > > ImageView.setImageBitmap(bitmap) or ImageView.setImageDrawable(drawable)? -- 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

