title: Android page curl by harism , adding TextView caused and exception :
body: <p>I need to edit harism's project about page_curl 
  <a href="https://github.com/harism/android_page_curl" rel="nofollow">https://github.com/harism/android_page_curl</a> 
  with the following requirement : I need to add TextView bellow the Curl_View (when the page is flipped the content of the textView is changed).
  I made an Interface that supply the TextView with the data </p>
  
  <pre><code>public interface TextProvider{
          public int getTextCount();
          public void setText(int index);
  
          public String getText(int index);
  
          public TextView getTextView();
      }
  </code></pre>
  
  <p>and the only place to update the TextView when the pages is curles is in onDrawFrame() methode</p>
  
  <p>but I have the following exception : <strong>android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.</strong></p>
  
  <p>There is some solutions says that I should use the Handler , <strong>My Question is how to use the Handler in this case ?</strong> </p>