lsjwzh / lsjwzh/MaterialLoadingProgressBar

Circle seems to be growing each time I change visibility (android 4.2.1)

Open
#15 2 comments 0 reactions 0 assignees View on GitHub

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.
![screen shot 2015-12-17 at 5 42 59 pm](https://cloud.githubusercontent.com/assets/906656/11884229/43478ec4-a4e6-11e5-893a-760961906bd5.png)

(I don't see the issue on my Nexus 5 running Lollipop)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.