Skip to content Skip to sidebar Skip to footer

How To Speed Up Display For Continous Images In Android

Currently, I am trying an application for receive and display views from another mobile. When views received, I will convert it as a bitmap, and use ImageView to display them like

Solution 1:

You should consider using SurfaceView instead of ImageView. Every time you call ImageView.setImageBitmap new BitmapDrawable instance is created and view itself is invalidated so this is quite heavy way for switching images rapidly.

Also if you need to scale bitmap before drawing you can dramatically increase framerate by disabling bitmap filtering.

Post a Comment for "How To Speed Up Display For Continous Images In Android"