@Test public void testNullPrompt() { final SequenceItem sequenceItem = new SequenceItem(new SequenceState(null)); sequenceItem.show(); }
public void show() { final MaterialTapTargetPrompt prompt = this.sequenceState.getPrompt(); if (prompt != null) { this.show(prompt); } else { this.onItemComplete(); } }
SequenceItem implements MaterialTapTargetPrompt.PromptStateChangeListener { public void show() { final MaterialTapTargetPrompt prompt = this.sequenceState.getPrompt(); if (prompt != null) { this.show(prompt); } else { this.onItemComplete(); } } }
SequenceItem implements MaterialTapTargetPrompt.PromptStateChangeListener { public void show() { final MaterialTapTargetPrompt prompt = this.sequenceState.getPrompt(); if (prompt != null) { this.show(prompt); } else { this.onItemComplete(); } } SequenceItem(@NonNull final SequenceState state); }
SequenceItem implements MaterialTapTargetPrompt.PromptStateChangeListener { public void show() { final MaterialTapTargetPrompt prompt = this.sequenceState.getPrompt(); if (prompt != null) { this.show(prompt); } else { this.onItemComplete(); } } SequenceItem(@NonNull final SequenceState state); void addStateChanger(final int state); void removeStateChanger(final int state); void clearStateChangers(); void setSequenceListener(@Nullable final MaterialTapTargetSequence.SequenceCompleteListener listener); @NonNull SequenceState getState(); void show(); void finish(); void dismiss(); @Override void onPromptStateChanged(@NonNull final MaterialTapTargetPrompt prompt, final int state); }
SequenceItem implements MaterialTapTargetPrompt.PromptStateChangeListener { public void show() { final MaterialTapTargetPrompt prompt = this.sequenceState.getPrompt(); if (prompt != null) { this.show(prompt); } else { this.onItemComplete(); } } SequenceItem(@NonNull final SequenceState state); void addStateChanger(final int state); void removeStateChanger(final int state); void clearStateChangers(); void setSequenceListener(@Nullable final MaterialTapTargetSequence.SequenceCompleteListener listener); @NonNull SequenceState getState(); void show(); void finish(); void dismiss(); @Override void onPromptStateChanged(@NonNull final MaterialTapTargetPrompt prompt, final int state);  }