| android.support.annotation.UiThread | 
Denotes that the annotated method or constructor should only be called on the UI thread. If the annotated element is a class, then all methods in the class should be called on the UI thread.
Example:
@UiThread
  public abstract void setText(@NonNull String text) { ... 
 }
| 
  [Expand]
   Inherited Methods  | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
   
From interface
  java.lang.annotation.Annotation
  | |||||||||||||||||||
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.
