Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

make handler running continuously

Handler handler = new Handler(Looper.getMainLooper());
handler.postDelayed(new Runnable() {
  @Override
  public void run() {
    handler.postDelayed(this, 500);
  }
}, 500);
 
PREVIOUS NEXT
Tagged: #handler #running #continuously
ADD COMMENT
Topic
Name
8+4 =