android - Fast tap on TextView clearing random portion of my Custom View -
i using 1 40 miliseconds timer , plotting graph speed. (in each 40 milisecsnds of ondraw() call , plotting 5 points). on layout same time when taping on 1 textview, clearing random portion of custom view.
so question
is related cache drawing. ?
i tried setdrawingcacheenabled(true); not working.
any idea ?
this ondraw()
@override public void ondraw(canvas canvas) { super.ondraw(canvas); //setdrawingcacheenabled(true); //canvas.drawbitmap(bbitmap,0,0,null); drawstuff(canvas); }
my cache memory size 256k , screen resulotion 800x480
Comments
Post a Comment