new Thread(new Runnable() {
public void run() {
}
}).start();
//////////////////////// with delay
ref : http://stackoverflow.com/questions/3072173/how-to-call-a-method-after-a-delay-in-android
//////////////////////// with delay
ref : http://stackoverflow.com/questions/3072173/how-to-call-a-method-after-a-delay-in-android
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
//Do something after 100ms
}
}, 100);
댓글
댓글 쓰기