Skip to content

Problem with storage of selected tasks #2

@thisisdhaas

Description

@thisisdhaas

The use of user preferences to store selected tasks is broken:

  • The state of the selected tasks (tasksToSelected and taskList) is stored in MainActivity. But this is now a tab, so it is deleted and recreated when other tabs are selected.
  • When a new MainActivity tab is created, it reloads tasksToSelected from the user preferences, overriding the current state of tasksToSelected in memory. This is bad

We need to move tasksToSelected to the TabActivity. Also, I think we discussed not storing user preferences for selected tasks anymore. As in, when the app loads, nothing is checked, and the user must select what they want to listen for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions