You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering how I could detect that sliding view is fully closed or fully opened. For that, I'm started using
slideUp = new SlideUpBuilder(root).withStartState(SlideUp.State.HIDDEN)
.withStartGravity(Gravity.BOTTOM)
.withSlideFromOtherView(root)
.withLoggingEnabled(true)
.withListeners(new SlideUp.Listener.Events() {
public void onVisibilityChanged(int visibility)
public void onSlide(float percent)
Pannel slide up from bottom and back. When I call show() I've got these events:
Listener(0) (onSlide ) value = 100.0
Listener(0) (onVisibilityChanged ) value = GONE
Listener(0) (onSlide ) value = 100.0
Listener(0) (onVisibilityChanged ) value = GONE
Listener(0) (onSlide ) value = NaN
How based on such events detect when the panel is closed and when its open?
visibility in event is always GONE and slideUp.isVisible during events - too.
The text was updated successfully, but these errors were encountered:
I was wondering how I could detect that sliding view is fully closed or fully opened. For that, I'm started using
Pannel slide up from bottom and back. When I call
show()
I've got these events:How based on such events detect when the panel is closed and when its open?
visibility in event is always GONE and slideUp.isVisible during events - too.
The text was updated successfully, but these errors were encountered: