Open Urkman opened 3 years ago
It turns out, that not even clearing the list always helps to update the SilverList :(
Any updates, really need this for my chat message list...
@Urkman yes please, we need a solution. even my box can not rebuild the list. also, @LucaJeevanjee @jonataslaw @jasonlaw did any of you find a solution?
@Urkman yes please, we need a solution. even my box can not rebuild the list. also, @LucaJeevanjee @jonataslaw @jasonlaw did any of you find a solution?
Hey, I'm away right now but if I remember correctly you could try wrapping your list items with an object key, for some reason that let mine rebuild.
@Urkman yes please, we need a solution. even my box can not rebuild the list. also, @LucaJeevanjee @jonataslaw @jasonlaw did any of you find a solution?
Hey, I'm away right now but if I remember correctly you could try wrapping your list items with an object key, for some reason that let mine rebuild.
@LucaJeevanjee have never used it before. so please do share some code when you can. thanks.
key:ObjectKey('randomindex'), child:Container()
@LucaJeevanjee Hi, Thanks for this. I tried but I guess for me the problem is that I am using a stream with GetX and streams do not work very well with GetX and that is what's causing an issue. Please do let me know if you have any solution for that.
Facing same issue with Obx & SliverList. Any update on this?
ObjectKey is working for me to. Maybe add this to GetX documentation?
The SliverList is not updating without clearing it first before the request. But with clearing the list, we get an ugly empty screen for some milliseconds :(
I use this code (shortend):
page:
delegate:
controller:
Is there a way to get it working without clearing the list?
And by the way. Is there a difference in this code:
Thanks, Urkman