Devlight / Devlight/ArcProgressStackView
animateProgress problem when receiveing a broadcast
- Ngôn ngữ chính
- Java
- Star
- 1.3k
- Fork
- 203
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, java
- Lĩnh vực
- mobile
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100