In initstate() I dispatch an event to Bloc
Although I dispatch this event successfully and every data updated, My BlocBuilder and BlocListener I can not receive the state
Can you answer for me it is my fail whether your rule ?
Hi @vungocnamhust 馃憢
Thanks for opening an issue!
Can you provide a sample app that illustrates the problem you're having? I'm guessing that you're either mutating the currentState or if you're using Equatable you've forgotten to pass the class properties to the super class.
My subject is make a infinite list and I have read your code about infinite list
My issue is my bloc builder can not realize the changing of object so when I using transform with debounce time, everything can be solved.
However I think it is the same as the trick because it depend on the internet speed
Do you have a better solution? Thanks
@vungocnamhust can you please provide a link to your project or to a sample application that demonstrates the problem? I can't really help without being able to see the code unfortunately.
Sorry I forgot :)))))
Here is my code for this page. Thank you
https://github.com/vungocnamhust/Flutter/tree/master/Flutter%20Project/notify
I took a look and the project you shared didn't seem like a complete flutter project so I wasn't able to run it. I still took a look at the code and created a pull request with a few fixes. Hope that helps! 馃憤
Closing for now but feel free to comment with additional questions and I'm happy to continue the conversation.
Thank you very much <3 I have fixed successfully
Most helpful comment
Thank you very much <3 I have fixed successfully