FanFataL / swipe-controller-demo

This is source code from the article about creating swipe menu with RecyclerView without any external libraries.
284 stars 127 forks source link

How to reset buttons / hide buttons if we switch tabs? #17

Open vandit067 opened 4 years ago

vandit067 commented 4 years ago

Hey,

I am facing one issue in which i am trying to find out the solution to reset buttons when we switch the tab. we have two bottom navigation tabs. one tab shows all notifications content and other will show priority notifications. When i swipe left to perform delete notification action and switch tab in priority notifications, i can see the delete button in same location under priority tab content.

I want to reset the buttons when i switch my tabs. How can i achieve this with your library?

Thanks Vandit