Spinning progress bar in every listview item

后端 未结 6 741
日久生厌
日久生厌 2021-02-01 08:30

I\'ve been scratching my head over this for a long time now and searched for an answer without any luck! It seems to be trivial, but as far as I know, it isn\'t.

I use a

6条回答
  •  渐次进展
    2021-02-01 08:52

    Digging through the source code I see that the spinning image is a drawable that is spinning because of a private Animation. There is no way to obtain the view or the animation, thus discarding any idea I had of reusing one animation on all the views. I'd say your only alternative is what Jug6ernaut suggested, even though it is not the prettiest of solutions.

提交回复
热议问题