Searched refs:getViewLifecycleOwner (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentViewLifecycleTest.java66 fragment.getViewLifecycleOwner().getLifecycle().getCurrentState());
78 fragment.getViewLifecycleOwner();
79 fail("getViewLifecycleOwner should be unavailable if onCreateView returned null");
115 fragment.getViewLifecycleOwner().getLifecycle().getCurrentState());
168 LifecycleOwner viewLifecycleOwner = fragment.getViewLifecycleOwner();
180 fragment.getViewLifecycleOwner();
181 fail("getViewLifecycleOwner should be unavailable after onDestroyView");
196 LifecycleOwner viewLifecycleOwner = fragment.getViewLifecycleOwner();
211 viewLifecycleOwner, fragment.getViewLifecycleOwner());
213 fragment.getViewLifecycleOwner()
[all...]
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java294 public LifecycleOwner getViewLifecycleOwner() { method in class:Fragment
304 * {@link #getViewLifecycleOwner() lifecycle of the Fragment's View}.
309 * @return A LiveData that changes in sync with {@link #getViewLifecycleOwner()}.
2433 throw new IllegalStateException("Called getViewLifecycleOwner() but "

Completed in 13 milliseconds