mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 20:29:54 +00:00
Make checked ListItem non editable
This commit is contained in:
parent
fb35ffdac4
commit
157ecb1b13
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ class ListItemVH(
|
|||
binding.Content.descendantFocusability = ViewGroup.FOCUS_BLOCK_DESCENDANTS
|
||||
}
|
||||
setCanEdit(viewMode == NoteViewMode.EDIT)
|
||||
isFocusable = !item.checked
|
||||
when (viewMode) {
|
||||
NoteViewMode.EDIT -> {
|
||||
setOnClickListener(null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue