i have a BoardView with the following configuration: column x with row 0,1,2 and column 1 with row 0,1,2.
Each column has a own DragItemAdapter. A view look like this:
x y
0 0
1 1
2 2
So lets say i want always to swap item x,1 with item y,2. Is this currently supported? I tried a few things, but didn't manage to achieve this behavior. The framework always insert the value instead of swapping it.
There is no direct method that does this. But I guess you could get the adapter of both the columns and then call removeItem(pos) on both and then addItem(pos, item) on both.
Hi,
i have a BoardView with the following configuration: column x with row 0,1,2 and column 1 with row 0,1,2. Each column has a own DragItemAdapter. A view look like this: x y 0 0 1 1 2 2
So lets say i want always to swap item x,1 with item y,2. Is this currently supported? I tried a few things, but didn't manage to achieve this behavior. The framework always insert the value instead of swapping it.