Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get the callbacks when a cell Opens #67

Open
Iamzaryab opened this issue Oct 27, 2023 · 1 comment
Open

Unable to get the callbacks when a cell Opens #67

Iamzaryab opened this issue Oct 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Iamzaryab
Copy link

Hi I want to change the background of item when the cell is opened and reset at cell closed the how can I achieve this
I tried SwipeActionController too but it is not triggering on any event

@danielRi
Copy link

danielRi commented May 28, 2024

This is also what I miss from the package. Great job, but a callback would be really nice.

I find out you can listen to events using:

SwipeActionStore.getInstance().bus.on().listen((event) {
  // do something
})

But the events coming in do not provide enough information to know what happened. For example if I open a cell programmatically, first I receive a CellProgramOpenEvent, and right after it a CellFingerOpenEvent. Also, in the object there is no way to know if the cell was opened or closed. Can maybe somebody help?

@luckysmg luckysmg added the enhancement New feature or request label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants