public class MaterialTapTargetSequence
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
MaterialTapTargetSequence.SequenceCompleteListener
Interface definition for a callback to be invoked when a sequence completes.
|
Constructor and Description |
---|
MaterialTapTargetSequence() |
Modifier and Type | Method and Description |
---|---|
void |
addPrompt(MaterialTapTargetPrompt prompt)
Add a prompt to the end of the sequence.
|
void |
setSequenceCompleteListener(MaterialTapTargetSequence.SequenceCompleteListener listener)
Set the listener to listen with the action to call when the sequence ends
|
void |
show()
Start the sequence by showing the first prompt
|
public void setSequenceCompleteListener(@Nullable MaterialTapTargetSequence.SequenceCompleteListener listener)
listener
- the listener with the action to executepublic void addPrompt(MaterialTapTargetPrompt prompt)
prompt
- The prompt to addpublic void show()