Application.RunningOnAppThread

public static bool RunningOnAppThread();

Description 描述

Returns true if you're running on application thread.

More information on UI and application threads can be found here.