Let FragmentActivity implement ViewModelStoreOwner
Rather than rely on a HolderFragment, FragmentActivity
can own its own ViewModelStore.
Test: ViewModelTest passes
BUG: 71503976
Change-Id: Iac9a3e91c5b31d44fb0b567f69ad480b7eb2ff19
diff --git a/fragment/build.gradle b/fragment/build.gradle
index a4909cb..aa07639 100644
--- a/fragment/build.gradle
+++ b/fragment/build.gradle
@@ -11,6 +11,7 @@
api(project(":support-core-ui"))
api(project(":support-core-utils"))
api(project(":support-annotations"))
+ api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
androidTestImplementation(TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)