I have a repeating group with upvotes showing for each cell. I originally pull the upvote data from the database but when a user up or downvotes, I save the vote count to a custom state for better performance, while updating the database in the background.
It seems that the custom states of cells are index-based - not this cell’s thing based. And when the group gets sorted or filtered, the numbers get scrambled. Is there an easy solution to updating the votecount (to a custom state?) so that sorting and filtering still work? I want to keep the repeating group data in a custom cell so that it doesn’t get loaded from the server every time somebody filters or sorts the group.