SwipeRevealLayoutExample icon indicating copy to clipboard operation
SwipeRevealLayoutExample copied to clipboard

MainView did not close after button action.

Open mohanrajsambath opened this issue 6 years ago • 1 comments

Hey Mark, I tried your reference in a sample app, I facing an issue, say for example end user delete the position 2, at that moment position 3 value move to position 2 is working fine, but the opened main view does not close automatically. please help me to resolve this scenario, how may I handle this one using your reference. Thanks in advance.

mohanrajsambath avatar Sep 18 '18 07:09 mohanrajsambath

After button has been pressed ( in setOnClickListener ) you should call swipeRevealLayout.close(true) //true - with animation, false - without

dmitriy-chernysh avatar Mar 25 '19 21:03 dmitriy-chernysh