Open MagoMtzAl opened 5 years ago
Hi @MagoMtzAl
You are checking the state on the wrong place and wrong time. That's why you get always false. Because when any cell is clicked, the SelectionState
of the cell is not SelectionState.SHADOWED
.
I would recommend you to check the selection handler class to understand in which case, the status of a cell becomes SelectionState.SHADOWED
.
The property
isShadowed
is always returning false when trying to access it from Listener methodonCellClick()
This is my implementation:
override fun onCellClicked(cellView: RecyclerView.ViewHolder, column: Int, row: Int) {
}