Devlight / Devlight/ArcProgressStackView

animateProgress problem when receiveing a broadcast

未关闭
#15 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.3k
派生
203
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。