public class

CrossThreadException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.neomades.ui.CrossThreadException

Class Overview

Exception thrown when a non Thread-safe modification is done in the wrong thread.

For example, When the UI is modified by another thread (in http callback...), the developer should use runOnUiThread(Runnable) to do Thread-safe calls of UI modifications.

Summary

Public Constructors
CrossThreadException(String msg)
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public CrossThreadException (String msg)