tags:

views:

49

answers:

0

Hello everyone, I am having a problem with Android looper. I have a class that has extended AsynTask. Inside doInBackground() method i have Looper.prepare() and some code below.

It runs well and good for the first time but after that it gives an exception " Only one Looper may be created per thread" .

There seems some solution to use Looper.quit() but i am unable to implement it.

Any help will be appreciated.