The title explains it all. I have a class that extends AsyncTask. I call it directly in main thread using new classname.execute().
Now in the doInBackground(params) i have Looper.prepare. Since i am getting an error "Only one Looper may be created per thread", i need to use Looper.quit() inside it. But i am not able to find it inside Looper class when i write Looper.quit();
So how to use this quit function