Implement deleting done checklist items

This commit is contained in:
tanvirahmod
2021-01-04 18:43:54 +06:00
parent ab9407ee7a
commit 75da88ba33
33 changed files with 83 additions and 26 deletions

View File

@ -89,4 +89,8 @@ class NotesPagerAdapter(fm: FragmentManager, val notes: List<Note>, val activity
fragments[position] = fragment
return fragment
}
fun removeDoneCheckListItems(position: Int) {
(fragments[position] as? ChecklistFragment)?.removeDoneItems()
}
}