miércoles, 21 de mayo de 2014

Android: Execute code in the main thread


Handler mainHandler = new Handler(Looper.getMainLooper());

         mainHandler.post(new Runnable() {
    
    @Override
    public void run() {
     // TODO Auto-generated method stub
     
    }
   });

No hay comentarios:

Publicar un comentario