public final class DebugTextViewHelper
extends java.lang.Object
implements java.lang.Runnable
TextView
.Modifier and Type | Class and Description |
---|---|
static interface |
DebugTextViewHelper.Provider
Provides debug information about an ongoing playback.
|
Constructor and Description |
---|
DebugTextViewHelper(DebugTextViewHelper.Provider debuggable,
android.widget.TextView textView) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
start()
Starts periodic updates of the
TextView . |
void |
stop()
Stops periodic updates of the
TextView . |
public DebugTextViewHelper(DebugTextViewHelper.Provider debuggable, android.widget.TextView textView)
debuggable
- The DebugTextViewHelper.Provider
from which debug information should be obtained.textView
- The TextView
that should be updated to display the information.public void start()
TextView
.
Should be called from the application's main thread.
public void stop()
TextView
.
Should be called from the application's main thread.
public void run()
run
in interface java.lang.Runnable