From 931c59069821199eef7454d8396c4fe6c5d252fb Mon Sep 17 00:00:00 2001 From: pfavre Date: Tue, 14 Nov 2017 21:00:44 +0100 Subject: [PATCH] Change access of method smoothSlideTo() to public --- .../java/com/sothree/slidinguppanel/SlidingUpPanelLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/sothree/slidinguppanel/SlidingUpPanelLayout.java b/library/src/main/java/com/sothree/slidinguppanel/SlidingUpPanelLayout.java index 424a008c..319789ea 100644 --- a/library/src/main/java/com/sothree/slidinguppanel/SlidingUpPanelLayout.java +++ b/library/src/main/java/com/sothree/slidinguppanel/SlidingUpPanelLayout.java @@ -1227,7 +1227,7 @@ protected boolean drawChild(Canvas canvas, View child, long drawingTime) { * @param slideOffset position to animate to * @param velocity initial velocity in case of fling, or 0. */ - boolean smoothSlideTo(float slideOffset, int velocity) { + public boolean smoothSlideTo(float slideOffset, int velocity) { if (!isEnabled() || mSlideableView == null) { // Nothing to do. return false;