'Android Image bitmap comparison vs setBitmap time complexity suggestion
I want to repeatedly set an imageviews bitmap with an interval. Which approach will be better?
If I check and compare bitmaps are ame or updated or not.
if(!imageBitmap.sameAs(imageBitmap1))imageView.setImageBitmap(imageBitmap1)If I just set bitmap to the imageView?
imageView.setImageBitmap(imageBitmap1)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
