public class TransitionInflater
extends java.lang.Object
com.transitionseverywhere.R.styleable#Transition, com.transitionseverywhere.R.styleable#TransitionSet,
com.transitionseverywhere.R.styleable#TransitionTarget, com.transitionseverywhere.R.styleable#Fade,
and com.transitionseverywhere.R.styleable#TransitionManager.| Modifier and Type | Method and Description |
|---|---|
static TransitionInflater |
from(android.content.Context context)
Obtains the TransitionInflater from the given context.
|
Transition |
inflateTransition(int resource)
Loads a
Transition object from a resource |
TransitionManager |
inflateTransitionManager(int resource,
android.view.ViewGroup sceneRoot)
Loads a
TransitionManager object from a resource |
public static TransitionInflater from(android.content.Context context)
public Transition inflateTransition(int resource)
Transition object from a resourceresource - The resource id of the transition to loadandroid.content.res.Resources.NotFoundException - when the
transition cannot be loadedpublic TransitionManager inflateTransitionManager(int resource, android.view.ViewGroup sceneRoot)
TransitionManager object from a resourceresource - The resource id of the transition manager to loadandroid.content.res.Resources.NotFoundException - when the
transition manager cannot be loaded