ankidroid / ankidroid/Anki-Android

architecture: support `withProgress` in ViewModels

Open
#19,460 4 comments 0 reactions 1 assignee Claimed by @criticalAY View on GitHub
Keep Open Priority-High
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

This issue exists as a placeholder to establish a common pattern for progress notifications in the ViewModel.
Likely via getting PR #17804 listed as high priority, discussed, reviewed and merged.

Being unable to use `withProgress` from the ViewModel unnecessarily complicates a lot of code.

In particular, it'd have been useful when refactoring the `DeckPicker` in #18886, and in the CardBrowser refactor.

* #17804
* #18290

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.