Devlight / Devlight/ArcProgressStackView
animateProgress problem when receiveing a broadcast
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 203
- PR merge metrics
- No merged PRs in 30d
Description
There is a service in my app that contains an Asynctask that sends a broadcast during onProgressUpdate. I want to show the progress in an ArcProgressStackView in a fragment that receives the broadcast. The problem is that the progress bar is updated but it doesn't show the animation during the update between an updated number to another. As a note, If I don't send the broadcast, the progress bar, of course, doesn't show the progress, but the animation is shown from 0 immediately to 100 after analysis finished. I mean it seems that updating the progress bar from a service by a broadcast receiver is affecting on the animation.
Would you please let me know what I am missing?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the progress update flow between the service's AsyncTask onProgressUpdate, the broadcast, and the fragment's ArcProgressStackView. Trace how each received value reaches the progress view and compare that with direct updates; done means identifying and documenting a concrete change that preserves animation between updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100