| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
completed |
| 构造器和说明 |
|---|
ProgressiveTask() |
ProgressiveTask(ProgressiveTaskListener l) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel() |
protected void |
declareProgress(float progress) |
boolean |
isCancelled() |
boolean |
isCompleted() |
void |
run() |
protected abstract void |
runImpl()
Implementers of this method MUST return from it occasionally so that the cancelled status can be checked.
|
public ProgressiveTask()
public ProgressiveTask(ProgressiveTaskListener l)
public void cancel()
public boolean isCancelled()
public boolean isCompleted()
protected void declareProgress(float progress)
protected abstract void runImpl()
Copyright © 2018. All rights reserved.