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
{{ message }}
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
Hello,
I would like to call method after slide down 'SlidingLayer'. So I decided to detect Touch Event and after that call my method.
My Code:
`SlidingLayer slidingLayer = findViewById(R.id.slidingLayer1);
slidingLayer.setShadowDrawable(R.drawable.sidebar_shadow);
slidingLayer.setShadowSizeRes(R.dimen.shadow_size);
slidingLayer.setOffsetDistanceRes(R.dimen.offset_distance);
slidingLayer.setPreviewOffsetDistanceRes(R.dimen.preview_offset_distance);
slidingLayer.setStickTo(SlidingLayer.STICK_TO_TOP);
slidingLayer.setChangeStateOnTap(false);
slidingLayer.setOnTouchListener(new View.OnTouchListener() {
Detecting touch works well but SlidingLayer stop working. Do you know some other way to call method after Slide Down/Touch?
EDIT
I found a solution, maybe someone else will use it too
` slidingLayer.setOnInteractListener(new SlidingLayer.OnInteractListener() {
@OverRide
public void onOpen() {
setWifiList();
}
The text was updated successfully, but these errors were encountered: