Merge pull request #456 from KryptKode/feat/checklist-sort

Feat/checklist sort
This commit is contained in:
Tibor Kaputa
2021-10-08 18:31:22 +02:00
committed by GitHub
9 changed files with 184 additions and 11 deletions

View File

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