Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

DmfsTask: finish new storage-level DmfsTask API #338

Closed

Description

@rfc2822

Part of #116.

Analogous to: events synctools #45

Complete WIP PR #182 which introduces storage/tasks/DmfsTask.kt with Android Entity as the storage data structure.

synctools changes

  • Finalise storage/tasks/DmfsTask.kt: holds Entity (main task row + property sub-rows for alarms, categories, relations, …)
  • Update DmfsTaskList.findTasks() / getTask() to return the new storage.tasks.DmfsTask
  • Add CRUD methods on DmfsTaskList for the new DmfsTask type (analogous to AndroidRecurringCalendar for events)
  • The legacy ical4android/DmfsTask.kt is already deprecated in PR Refactor DmfsTask, introducing Entity as data object #182 (kept temporarily)

DAVx5 changes (separate PR)

  • LocalTask.kt: wrap the new storage/tasks/DmfsTask instead of ical4android/DmfsTask
  • LocalTaskList.kt: adapt to the updated DmfsTaskList API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactoringQuality improvement of existing functionstasksRegarding tasks / everything that's stored in a task app provider

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions