Closed ulx closed 8 years ago
Hi @ulx, I'm trying to understand your code.
The first thing is nothing to do with this library: I see that HeaderItem
is reinitialized to null at every cycle, so you are setting a new object every time, different from the previous header.
Also you can enable Adapter logs and see yourself what's happening behind. Or, you can try to debug and see if those items have the same reference or are new objects.
Please, remove the Header init. outside the for
statement, it should fix, I think.
If you need more help, write here.
Yes, you right. @davideas I called multiple times method "setListOperations". But I don't see method "clear" or "removeAll"
removeRange()
is good, also, you can use removeItemsOfType(...)
. But probably I will add in the future a removeAll()
.
Thanks!
1) For Bugs / Support
I created
2 I refreched list. 3 I see duplicate header
example https://postimg.org/image/6vraw3ccd/