Android, Infinitely repeating animation vs. instrumentation.waitForIdleSync()

前端 未结 1 369
遥遥无期
遥遥无期 2021-01-21 05:16

I have project with a custom view which is animated. The animation is a simple alpha fade which repeats itself infinitely. The view is a cursor, and it

相关标签:
1条回答
  • 2021-01-21 05:50

    I had this issue and reported it as a bug on AOSP, but I don't expect anyone will fix it any time soon. My workaround was to remove the animation (which was challenging, as it was the indefinite progress view). One option for your case would be to change the animation timing in your tests so it doesn't animate every frame. Not ideal, but better than freezing I suspect.

    0 讨论(0)
提交回复
热议问题