public static interface Transition.ViewAdapter
ViewTransition
, ViewPropertyTransition
and
animated Drawable
s).Modifier and Type | Method and Description |
---|---|
android.graphics.drawable.Drawable |
getCurrentDrawable()
Returns the current drawable being displayed in the view, or null if no such drawable exists
(or one cannot be retrieved).
|
android.view.View |
getView()
Returns the wrapped
View . |
void |
setDrawable(android.graphics.drawable.Drawable drawable)
Sets the current drawable (usually an animated drawable) to display in the wrapped view.
|
android.view.View getView()
View
.@Nullable android.graphics.drawable.Drawable getCurrentDrawable()
void setDrawable(android.graphics.drawable.Drawable drawable)
drawable
- The drawable to display in the wrapped view.