Devlight / Devlight/ArcProgressStackView

animateProgress problem when receiveing a broadcast

Offen
#15 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.3k
Forks
203
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, java
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.