I want a view called view called tableview in my project from the GitHub. It is a view like data grid in the window and it can set every column has the different view, when I put a checkbox into the tableview, the click event of the item disappear, like this:
[
If every column is a TextView
, the click event is usually like this:
)
I think maybe because the checkbox consumes the click event, so the click of the item doesn't have any effort. But the click of the area doesn't within the area of the checkbox, I don't know how to deal with the problem.
When I put a checkbox into a RecycleView
, the item of the RecycleView
works.
It is strange to me why the RecycleView
can do it, but the TableView
can't do it.
I need some guidance please.