¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Nothing important

Prakash Sharma Information Technology Programming Inglés 2 páginas

Contenido del apunte (2)

Página 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();

Página 2

Información

Descripción
Nothing much to describe
Creado por
Prakash Sharma
Visitas
22
Etiquetas
rain
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?