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
Hi
I'm using your repository and I have one question.
Is it a possible to check when menu closed.Here is a your method,whitch does not has static duration
Hi
I'm using your repository and I have one question.
Is it a possible to check when menu closed.Here is a your method,whitch does not has static duration
` public void smoothScrollContentTo(int targetOffset, float velocity) {
setCurrentState(STATE_SCROLL);
int distance = targetOffset - mCurrentContentOffset;
velocity = Math.abs(velocity);
int duration = 400;
if (velocity > 0) {
duration = 3 * Math.round(1000 * Math.abs(distance / velocity));
}
duration = Math.min(duration, MAX_DURATION);
mScroller.abortAnimation();
mScroller.startScroll(mCurrentContentOffset, 0, distance, 0, duration);
invalidate();
}
Simple
I want to call my function,when menu has closed successfully
Thanks`
The text was updated successfully, but these errors were encountered: