GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Nothing important

Prakash Sharma Information Technology Programming Englisch 2 Seiten

Inhalt der Notizen (2)

Seite 1

1. Run a code on a different thread for the infinite time.

Thread thread = new Thread() { @Override public void run() { try { while (!thread.isInterrupted()) { Thread.sleep(1000); runOnUiThread(new Runnable() { @Override public void run() { // update TextView here! } }); } } catch (InterruptedException e) { } } }; thread.start();

Seite 2

Informationen

Beschreibung
Nothing much to describe
Erstellt von
Prakash Sharma
Aufrufe
22
Tags
rain
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck