Devlight / Devlight/ArcProgressStackView

animateProgress problem when receiveing a broadcast

Ouverte
#15 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
1.3k
Forks
203
Métriques de merge des PR
Aucune PR mergée en 30 j

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, java
Domaine
mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.