Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Images don't get deleted on deleting marker or drawing. #2

@Sharkaboi

Description

@Sharkaboi

Describe the bug
Images don't get deleted on deleting marker. Only the Uri gets deleted but not the actual image in the disk thus leading to duplicates and waste of space.

To Reproduce
Steps to reproduce the behavior:

  1. Add drawing
  2. Delete drawing
    or
  3. Add Marker with images
  4. Delete marker.

Expected behavior
On deletion of drawing > All drawing image and all nested marker images should get deleted.
On deletion of marker > All attached marker images should be deleted,

Fix
Easy fix : Recursively check and delete for files as cached in room.
Tough Fix : Switch to content provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions