title: Android OnDraw()
body: <p>I am new to Android and I am having trouble understanding the concept so basically this is what i want to do to understand it better..</p>
  
  <ul>
  <li><p>I created a DrawShape class that extends view. In this class in the OnDraw() I am creating a circle and filling it with a color.</p></li>
  <li><p>From the Activity I am calling the application. //Until this point I am doing fine.</p></li>
  </ul>
  
  <p>Now, I need to re-paint the Circle multiple times (Blue, Red, Yellow etc..)</p>
  
  <p>So I was reading and the best way is to use Threads.. I also read you need to use postInvalidate() to redraw (I still dont understand from where I should be calling this) is this called from the Activity?, or within the OnDraw()?.</p>
  
  <p>Hopefully you understand what i want to accomplish, is just that i havent found a good tutorial that shows this, how to repaint something x amount of times .. when I do Thread.sleep() it all stops then it shows my app.. but now i understand why, because i am playing with the main Thread. </p>
  
  <p>Please help me understand this..</p>
  
  <p>Thank you</p>