加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20110529221647/http://developer.android.com:80/reference/java/lang/Runnable.html
Since: API Level 1
public interface

Runnable

java.lang.Runnable
Known Indirect Subclasses

Class Overview

Represents a command that can be executed. Often used to run code in a different Thread.

Summary

Public Methods
abstract void run()
Starts executing the active part of the class' code.

Public Methods

public abstract void run ()

Since: API Level 1

Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable.