在自定义事件,我需要我的标记
来更新其绘制的6倍(基本上,我想标记
生长和收缩3次,用0.5秒每增长与各个收缩之间的延迟),所以它通知所述事件的用户
On a custom event, I need my Marker
to update its drawable 6 times (basically, I want the Marker
to grow and shrink 3 times with a delay of 0.5 s between each growth and each shrink) so it notifies the user of said event.
有没有办法实现这一目标,而不必实际删除标记
,并用不同的绘制对象再次将其添加
?
Is there any way to achieve this without actually having to remove the Marker
and adding it again with a different Drawable
?
恐怕也没办法今天做它没有实际删除的标记,与其他可绘制再次添加它。我已经这样做我自己,企图建立一个进度条。它的工作原理,但它是做一个尴尬的方式。
I'm afraid there is no way to do it today without actually removing the marker and adding it again with another drawable. I have just done so myself in an attempt to create a progress bar. It works, but it is an awkward way of doing it.
点击这里在另一个线程一个很好的解释。
Click here for a good explanation in another thread.