Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget should also be able to show all tasks #119

Closed
0xC0FFEEC0DE opened this issue Apr 17, 2024 · 1 comment
Closed

Widget should also be able to show all tasks #119

0xC0FFEEC0DE opened this issue Apr 17, 2024 · 1 comment

Comments

@0xC0FFEEC0DE
Copy link
Collaborator

Widget should also be able to show all tasks. The same as the app: "All tasks" or a specific list.

0xC0FFEEC0DE pushed a commit that referenced this issue Apr 28, 2024
Not every widget got its own views factory. The single views factory got the current widget ID via global variable to know which views to create. That was not optimal if multiple widgets were in use and could be the cause for #78. Now every widget gets its own factory.
onDataSetChanged() in the factory is allowed to block for longer time and should prepare all needed views. To realize that, the DB model was extended to enable blocking DB access. This gets used to implement onDataSetChanged() correctly.
The widgets were not updated if todo data changed. The ModelObserver was extended to provide the right event to automatically update the widget if data changes.
The name of the selected list now gets used as widget title. This fixes #118.
At widget configuration now it is possible to choose that all tasks get shown. This fixes #119.
@0xC0FFEEC0DE
Copy link
Collaborator Author

PR #122 solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant