ankidroid / ankidroid/Anki-Android

architecture: support `withProgress` in ViewModels

未关闭
#19,460 4 条评论 0 个 reaction 已指派 1 人 已被 @criticalAY 认领 在 GitHub 查看
Keep Open Priority-High
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。