Buat penangan berjalan terus menerus
Handler handler = new Handler(Looper.getMainLooper());
handler.postDelayed(new Runnable() {
@Override
public void run() {
handler.postDelayed(this, 500);
}
}, 500);
Bad Beaver