title: How to clear drawing on a canvas in Android
body: <p>I have already set up the canvas for the drawing. My problem now is how to clear the drawing.</p>
  
  <p>Tried doing this to no avail.</p>
  
  <pre><code>public void clear()
  {
      circlePath.reset();
      mPath.reset();
      // Calls the onDraw() method
      //invalidate();
  }
  </code></pre>
  
  <p>Please take a look at the whole code here:</p>
  
  <p><a href="https://gist.github.com/akosijiji/a29cca90bead2e5e35ad" rel="nofollow">https://gist.github.com/akosijiji/a29cca90bead2e5e35ad</a></p>
  
  <p>Any help is truly appreciated.</p>