isUiThread Method
Checks whether the method is called from UI thread
Syntax
public static boolean isUiThread()

Return Value

True if method is called from UI thread
See Also