Class SequenceItemShowFor
- java.lang.Object
-
- uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItem
-
- uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItemShowFor
-
- All Implemented Interfaces:
MaterialTapTargetPrompt.PromptStateChangeListener
public class SequenceItemShowFor extends SequenceItem
Shows a prompt in a sequence for the supplied milliseconds.
-
-
Constructor Summary
Constructors Constructor Description SequenceItemShowFor(SequenceState state, long milliseconds)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
show(MaterialTapTargetPrompt prompt)
Show the created prompt for this sequence item.-
Methods inherited from class uk.co.samuelwall.materialtaptargetprompt.extras.sequence.SequenceItem
addStateChanger, clearStateChangers, dismiss, finish, getState, onItemComplete, onPromptStateChanged, removeStateChanger, setSequenceListener, show
-
-
-
-
Constructor Detail
-
SequenceItemShowFor
public SequenceItemShowFor(@NonNull SequenceState state, long milliseconds)
Constructor.- Parameters:
state
- The prompt that this item will show.milliseconds
- The number of milliseconds to show the prompt for.
-
-
Method Detail
-
show
protected void show(@NonNull MaterialTapTargetPrompt prompt)
Description copied from class:SequenceItem
Show the created prompt for this sequence item.- Overrides:
show
in classSequenceItem
- Parameters:
prompt
- The prompt to show, this will never be null here.
-
-