Swipe layout is reset to closed position if a handler updates one of its views
When swiping or when the swipe layout is opened, the layout is reset to the closed position if an view is updated by a handler. I am using an textview inside the top view to display elapsed time, updating it every second using a handler. So, every second the whole swipeLayout is reset to the closed position, even when it is being dragged by swiping it with user's finger.
This problem is same me. Help us
me to
When swiping or when the swipe layout is opened, the layout is reset to the closed position if an view is updated by a handler. I am using an textview inside the top view to display elapsed time, updating it every second using a handler. So, every second the whole swipeLayout is reset to the closed position, even when it is being dragged by swiping it with user's finger.
dont use visibility.GONE just use visibility.INVISIBILE