Is it possible to give a name to an AsyncTask\'s background thread, as for normal Threads in Java:
Thread(Runnable target, String name)
I
Try calling this from inside doInBackground()
:
Thread.currentThread().setName("some custom name");
Why can't you extend the AsyncTask I dont understand.
I extend my AsyncTask thousand times with debugger shows me which AsyncTask is bitching.
public class MyAsyncTask extends AsyncTask<Void, Void, Void>{
}
like so