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

  1. is related cache drawing. ?

  2. 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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -