public static interface SlidingLayer.OnInteractListener
SlidingLayer's state.
OnInteractListener allows for external classes to be notified when the SlidingLayer
receives input to be opened or closed.| Modifier and Type | Method and Description |
|---|---|
void |
onClose()
This method is called when an attempt is made to close the current
SlidingLayer. |
void |
onClosed()
this method is executed after
onClose(), when the animation has finished and the
SlidingLayer is
therefore no longer visible. |
void |
onOpen()
This method is called when an attempt is made to open the current
SlidingLayer. |
void |
onOpened()
this method is executed after
onOpen(), when the animation has finished. |
void |
onPreviewShowed()
this method is executed after
onShowPreview(), when the animation has finished. |
void |
onShowPreview()
This method is called when an attempt is made to show the preview mode in the current
SlidingLayer. |
void onOpen()
SlidingLayer. Note
that because of animation, the SlidingLayer may not be visible yet.void onShowPreview()
SlidingLayer. Note that because of animation, the SlidingLayer may not be
visible yet.void onClose()
SlidingLayer. Note
that because of animation, the SlidingLayer may still be visible.void onOpened()
onOpen(), when the animation has finished.void onPreviewShowed()
onShowPreview(), when the animation has finished.void onClosed()
onClose(), when the animation has finished and the
SlidingLayer is
therefore no longer visible.