i have red around that surfaceview work faster in rendering, but take more resources than a view.
from my testing, i tried this code:
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
canvas.drawColor(Color.WHITE);
Log.i("OnDraw","ping");
invalidate();
}
one is a surfaceview class render, and another is a view class render, both had this same code in them. and from the log chat, i could see that the message from the Log.i method, was refreshing faster in a view class - around 70 milliseconds delay between each one, while in the case of the surfaceView, it refreshed slower - around 100 milliseconds delay between each one.
so... what gives?