Retrieving drawable from overlayitem
Is there any clever way of retrieving the Drawable
from an OverlayItem
?
I want to store the Drawable
of an OverlayItem
before setting a new Drawable
on it, to be able to revert afterwards, but I can't find any way of actually retrieving the current Drawable开发者_JS百科
.
You are the one defining the Drawable
in the first place. Make note of what it is at the time you set it up or change it. Most likely, you will need to create your own subclass of OverlayItem
for this.
精彩评论