R - The type of the resource whose entrance will be transitioned.public interface Transition<R>
Views in Targets in across resource types. Targets that wrap views will
 be able to provide all of the necessary arguments and start the transition. Those that do not
 will be unable to provide the necessary arguments and will therefore be forced to ignore the
 transition. This interface is a compromise that allows view specific transition in Glide's
 complex world of arbitrary resource types and arbitrary target types.| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Transition.ViewAdapter
An interface wrapping a view that exposes the necessary methods to run the various types of
 android animations as transitions: ( 
ViewTransition, ViewPropertyTransition and
 animated Drawables). | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
transition(R current,
          Transition.ViewAdapter adapter)
Animates from the previous  
Drawable that is currently being
 displayed in the given view, if not null, to the new resource that should be displayed in the
 view. | 
boolean transition(R current, Transition.ViewAdapter adapter)
Drawable that is currently being
 displayed in the given view, if not null, to the new resource that should be displayed in the
 view.current - The new resource that will be displayed in the view.adapter - The Transition.ViewAdapter wrapping a view that can at least return an
                View from Transition.ViewAdapter.getView().