title: Using AsyncTask With a Observer based Controller class (MVC Arch.)
body: <p>I've been following <a href="http://cleancodedevelopment-qualityseal.blogspot.in/2014/02/mvc-applied-on-android-practical.html" rel="nofollow">this tutorial</a>.<br><br>Now, I have to fetch and parse some JSON from a web URL. For that I am thinking to use an AsyncTask for now (might try something else as well. Such as a separate thread. advice..?)</p>
  
  <p>But am not able to decide and approach things for now as to how the AsyncTask can inform back to the controller about the state of execution (I thought of using a handler but that'll defeat the purpose of already used controller acting as a Observer for button click(s)..starting the AsyncTask as well) and where can I put the AsyncTask. Certainly not in the controller itself. As the controller has the sole responsibility of giving out commands/judging + it'll be a cluster f* :D</p>
  
  <p>Any help in form of sample code clearly showing me how/what to accomplish is appreciated. Thanks</p>