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
No Indeterminate ProgressBar/Horizontal in Samsung device, Android 5.0 #1
Comments
Seems that the ProgressBar on that platform is not happy to start our animation. Will investigate it later today. |
Could you please test for this sample APK? I tried to set the progress drawable in style to |
@DreaminginCodeZH I still got the same issue as the old build: both Indeterminate ProgressBar and Horizontal of native implementation don't show as expected. |
Tested on a Samsung S4 5.0.1, a Samsung 4.3, an Android-x86 4.4.2, an Android-x86 5.0, an Android-x86 5.0.1, a Cyanogenmod 5.0.2, a crDriod 5.0.2, cannot reproduce this bug. Seems to be a Samsung-specific regression that has been fixed. Just to be sure, what is your Android version specifically? is it plain 5.0, or 5.0.1, or 5.0.2? It can be helpful if you can provide some related adb log, and a PR is also welcomed. |
Hi, my phone run Android plain 5.0. However this morning, when I try to clone your repo, and use AppCompat lib v22.1.0 (I haven't updated my Android support lib to v22.2.0 yet), then I see no issue with Indeterminate ProgressBar and Horizontal. Will try with AppCompat v22.2.0 and let you know later. |
So when you're running the compiled sample apk from this repo (with appcompat 22.2), the indetermianate progress won't show up. But when you compile it against appcompat 22.1, it works. Did I get it right? Just a piece of information. If this is an appcompat related issue, the main usage of it in this library is And here are all the usages:
|
Well, just compile and run app against AppCompat v22.2.0 and see it run without any problem. Only see visibility with Indeterminate ProgressBar and Horizontal problem when use your APK to test. Update: found a little interesting log:
|
Oh, it is ProGuard. ObjectAnimators call by reflection. See PhilJay/MPAndroidChart#348 I've always tested with debug build APKs (so that I can modify source and debug immediately). My fault. Will fix this lator today. (But the library aar is not affected since the obfuscation happens only when I compile sample.) |
Ha ha, thanks for pointing it out. It's great to finally know where does this issue come from :) |
Issue resolved, and directives have been added to readme. I've also published this library to Maven central btw, you can take a look at the integration section. |
For anyone coming here for the same issue, as indeterminate progress bar not being shown or visible. Might help someone. |
My device is: Samsung Galaxy S5, Android 5.0.
As you can see in below screenshot, there is native implementation of Indeterminate ProgressBar, but no one in library implementation. The same issue with ProgressBar on Toolbar.
The text was updated successfully, but these errors were encountered: