Android Utililty Methods UI Thread Check

List of utility methods to do UI Thread Check

Description

The list of methods to do UI Thread Check are organized into topic(s).

Method

booleanisUIThread(Context context)
is UI Thread
return Thread.currentThread().equals(
        context.getMainLooper().getThread());