Hi : I am trying to build a dynamic chess board (w...
# compose
l
Hi : I am trying to build a dynamic chess board (with drag and drop), but in my early stage, it is not reactive.
Here is the code : I've tried to split up into a static chess board (for diagram), and dynamic chess board, which adds state.
I am setting the states with
remember
, and
mutableStateOf
: for sure there's a misconception of state and redraw from me.
Ok, stupid question, as I also need to implement onDrag if I ever want to see an effect. Step by step is fine, but I should set up some minimal amount of code.