new Thread(new Runnable() {
public void run() {
// do stuff that doesn't touch the UI here
}
}).start();
it was taken from here.
new Thread(new Runnable() {
public void run() {
Looper.prepare();
// do stuff that can touch the UI here
Looper.loop();
}
}).start();
Комментариев нет:
Отправить комментарий