ankidroid / ankidroid/Anki-Android

Fix ProgressDialog deprecation

オープン
#12,140 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Keep Open
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
171

説明

There isn't a Material Progress Dialog. Perhaps for the same reason they deprecated progress dialog on Android O.

> This class was deprecated in API level 26. ProgressDialog is a modal dialog, which prevents the user from interacting with the app. Instead of using this class, you should use a progress indicator like ProgressBar, which can be embedded in your app's UI. Alternatively, you can use a notification to inform the user of the task's progress.

(https://developer.android.com/reference/android/app/ProgressDialog)

We use ProgressDialog on other places of the code and would be nice to have an issue to discuss what to do on each case

_Originally posted by @BrayanDSO in https://github.com/ankidroid/Anki-Android/pull/12137#discussion_r953150673_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。