techinessoverloaded / progress-dialog

A ProgressDialog Library for Android API 24+ apps provided by Techiness Overloaded (Developer name : Arunprasadh C). Quite Useful for showing progress during any operation. Has support for both Determinate and Indeterminate ProgressBar, Dark Theme, and NegativeButton.

Home Page:https://techinessoverloaded.github.io/progress-dialog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Loading bar, title - everything showing.

soenkegissel opened this issue · comments

Using API 28 Simulator and Samsung S10 API 31.
Init like this:

ProgressDialog progressDialog;
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_FOLLOW_SYSTEM);
        } else {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_LIGHT);
        }
progressDialog.show()

Same for both devices:
image

Using API 28 Simulator and Samsung S10 API 31. Init like this:

ProgressDialog progressDialog;
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_FOLLOW_SYSTEM);
        } else {
            progressDialog = new ProgressDialog(requireContext(), ProgressDialog.THEME_LIGHT);
        }
progressDialog.show()

Same for both devices: image

Hi,
Thanks for pointing out this issue. May I know which Version of the Library you are using ?

1.4.4

Usually, AlertDialog is buggy when used with Fragment. ProgressDialog uses AlertDialog behind the scenes.

Anyway, I will check out if the issue is on my code. If it is so, I will resolve it in the next version.

@soenkegissel You can also give a pull request for solving the issue if possible.

I have same problem.

I have same problem.

Hi, I will fix that problem in the upcoming version. Please use version 1.3.1 until then.

@soenkegissel @mg2000 I have fixed this bug in version 1.5.1.