You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be super helpful to have an example of how to change data.
For example I want to create a new cell or change a cells position.
What is the best way to update the UI?
Thank you very much that you have made your code open source 💙
Acceptance criteria
Technical details
I found the putRawCells method in the SwayzeCellsController and it uses updateState.
I tried to use it like this: cellsController.updateState((modifier) { modifier.putCell(cellParser(element)); });
But I will not update the UI. It only adds the new cell to the matrix but is does not trigger a rebuild.
Only when I scroll so far that the cell is not visible any more and scroll back then it renders the new cell.
The text was updated successfully, but these errors were encountered:
Summary
I would be super helpful to have an example of how to change data.
For example I want to create a new cell or change a cells position.
What is the best way to update the UI?
Thank you very much that you have made your code open source 💙
Acceptance criteria
Technical details
I found the putRawCells method in the SwayzeCellsController and it uses updateState.
I tried to use it like this:
cellsController.updateState((modifier) { modifier.putCell(cellParser(element)); });
But I will not update the UI. It only adds the new cell to the matrix but is does not trigger a rebuild.
Only when I scroll so far that the cell is not visible any more and scroll back then it renders the new cell.
The text was updated successfully, but these errors were encountered: