I have a custom view and I have to set background color for it every two seconds.I can use canvas.drawARGB()
or view.setBackgroundColor()
.Both change color but I need to increase performance,because that change repeats every two seconds.So I want to know which way is faster?canvas.drawARGB() or view.setBackgroundColor()?
Asked
Active
Viewed 1,311 times
0
Micha
- 4,959
- 8
- 32
- 46
hasanghaforian
- 13,142
- 8
- 71
- 144
-
both methods are the same when it comes to speed – pskink Jul 12 '13 at 19:48