title: Invalidate() is not happening from Activity in Timer
body: <p>This  is my code on Activity to Invalidate  the canvas  it is not invalidating. Means  onDraw()  is not getting called even once; </p>
  
  <pre><code>   public GraphView  view;
      @Override
  public void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState); 
      setContentView(R.layout.main);
  
            view  = GraphView(this,null);
              runplotTimer();
    } 
  
  
        public void  runplotTimer()
      {
      Timer t = new Timer();
      //Set the schedule function and rate
      t.scheduleAtFixedRate(new TimerTask() {
          @Override
          public void run() {
              InvalidateTimer();
          }      
      },1000,40); 
  }
  
    public void InvalidateTimer()
  {
       this.runOnUiThread(new Runnable() {
              @Override
              public void run()
              {
                   //Log.d(ALARM_SERVICE, "Timer of 40 miliseconds");
                    view.InvalidateGraph();
              } 
          });
   }
  </code></pre>
  
  <p>on View class this is method which is gettting called from Activity. other OnDraw declaration is same as required. </p>
  
  <pre><code>   public void InvalidateGraph()
    {
       m_bCalledPlotRealTimeGraph = true;
           invalidate(chanX_count1, 0, chanX_count1+7, graphheight);
  
  
    }   
  </code></pre>
  
  <p>Any help please ?</p>