@Test public void testGetSceneRoot() { TransitionActivity activity = rule.getActivity(); ViewGroup root = activity.getRoot(); Scene scene = new Scene(root); assertThat(scene.getSceneRoot(), is(sameInstance(root))); }
@NonNull public ViewGroup getSceneRoot() { return mSceneRoot; }
Scene { @NonNull public ViewGroup getSceneRoot() { return mSceneRoot; } }
Scene { @NonNull public ViewGroup getSceneRoot() { return mSceneRoot; } Scene(@NonNull ViewGroup sceneRoot); private  Scene(ViewGroup sceneRoot, int layoutId, Context context);  Scene(@NonNull ViewGroup sceneRoot, @NonNull View layout); }
Scene { @NonNull public ViewGroup getSceneRoot() { return mSceneRoot; } Scene(@NonNull ViewGroup sceneRoot); private  Scene(ViewGroup sceneRoot, int layoutId, Context context);  Scene(@NonNull ViewGroup sceneRoot, @NonNull View layout); @NonNull static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId,
            @NonNull Context context); @NonNull ViewGroup getSceneRoot(); void exit(); void enter(); void setEnterAction(@Nullable Runnable action); void setExitAction(@Nullable Runnable action); }
Scene { @NonNull public ViewGroup getSceneRoot() { return mSceneRoot; } Scene(@NonNull ViewGroup sceneRoot); private  Scene(ViewGroup sceneRoot, int layoutId, Context context);  Scene(@NonNull ViewGroup sceneRoot, @NonNull View layout); @NonNull static Scene getSceneForLayout(@NonNull ViewGroup sceneRoot, @LayoutRes int layoutId,
            @NonNull Context context); @NonNull ViewGroup getSceneRoot(); void exit(); void enter(); void setEnterAction(@Nullable Runnable action); void setExitAction(@Nullable Runnable action);  }