lsjwzh / lsjwzh/MaterialLoadingProgressBar
Circle seems to be growing each time I change visibility (android 4.2.1)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
So i'm testing on a Samsung Galaxy Nexus running 4.2.1
I have a weird issue: I'm using a loading progress bar at the bottom of my listview. I show it when i'm loading more item to the listview, and hide it when i'm finish loading.
Problem is, each time I call setVisibility(View.GONE) and setVisibility(View.VISIBLE), it seems like the loading circle grows.
See attached screenshot for an example of the circle after 5 or 6 times.

(I don't see the issue on my Nexus 5 running Lollipop)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the loading progress bar and repeated setVisibility(View.GONE)/setVisibility(View.VISIBLE) calls on Android 4.2.1, using the attached screenshot as the expected symptom. Compare the result with the Nexus 5 behavior and trace the progress bar's visibility handling; done means repeated toggling no longer changes the circle's apparent size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100