Most concise way to run a simple background task?
问题 I've seen at least five patterns through which you can have some code to run in a worker thread. Most simple: new Thread(new Runnable() { public void run() { // } }).start(); We can extend AsyncTask ; we have AsyncTaskLoader and other Loader s for data, Service s and so on. I assume each one of those has some advantages which I'm not discussing here. What I'm wondering is: which is the most appropriate, concise way to run a simple action? Defining simple : Quite short action, <1s; No need to