title: Cannot call onDraw(Canvas canvas) with update()
body: <p>I'm currently developing android and went into a very serious problem :</p>
  
  <pre><code>@Override
  protected void onDraw(Canvas canvas) {
      super.onDraw(canvas);
      Log.i("GAME", "onDraw Called");
      for(int i = 0; i &lt; totalEggNumbers -1; i++) {
          if (egg[i].isKilled = false)
          canvas.drawBitmap(image[egg[i].getEggNum()], egg[i].getX(), egg[i].getY() + 100, paint);
          Log.i("GAME", "Something Drawn");
      }
  }
  
  // called by thread
  public void update() {
          //Chance to make egg
      Log.i("GAME", "Updated Game");
      eggMaker.randomEgg(difficulty);
      postInvalidate();
  }
  </code></pre>
  
  <p>The <code>onDraw</code> never gets called and I cant find the log in logcat after I terminated the app, but when it is running, I could see one "onDraw Called" showing up and disappearing occasionally.</p>
  
  <p>Im really desperate... I am using android view btw. Any way to call the <code>onDraw</code> method? I tried <code>invalidate();</code> and no chance, please modify my code :)</p>