public class GuideCaseQueue extends java.lang.Object implements DismissListener
GuideCaseView so that they are shown one after another
takes care to skip views that should not be shown because of their one shot id| Constructor and Description |
|---|
GuideCaseQueue()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
GuideCaseQueue |
add(GuideCaseView showCaseView)
Adds a GuideCaseView to the queue
|
void |
cancel(boolean hideCurrent)
Cancels the queue
|
void |
onDismiss(java.lang.String id)
is called when a
GuideCaseView is dismissed |
void |
onSkipped(java.lang.String id)
is called when a
GuideCaseView is skipped because of it's show once id |
GuideCaseQueue |
setCompleteListener(OnCompleteListener completeListener) |
void |
show()
Starts displaying all views in order of their insertion in the queue, one after another
|
public GuideCaseQueue add(GuideCaseView showCaseView)
showCaseView - the view that should be added to the queuepublic void show()
public void cancel(boolean hideCurrent)
hideCurrent - hides current GuideCaseViewpublic void onDismiss(java.lang.String id)
DismissListenerGuideCaseView is dismissedonDismiss in interface DismissListenerid - the show once id of the dismissed viewpublic void onSkipped(java.lang.String id)
DismissListenerGuideCaseView is skipped because of it's show once idonSkipped in interface DismissListenerid - the show once id of the dismissed viewpublic GuideCaseQueue setCompleteListener(OnCompleteListener completeListener)