Commit a4dc5d54 authored by Adrien Maglo's avatar Adrien Maglo

SlidingPaneLayout: fix the slide offset value returned to the callback

parent 1768a61f
......@@ -907,7 +907,7 @@ public class SlidingPaneLayout extends ViewGroup {
}
}
else if (mPanelSlideListener != null)
mPanelSlideListener.onPanelSlide((float)mSlideOffset / mSlideRange);
mPanelSlideListener.onPanelSlide(mSlideOffset);
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment