Introducing MVVM architecture & fragments to biometric settings. Here, we modify the first page of FingerprintEnrollIntroduction to use new MVVM with Fragment architecture. And with this new architecture, unit test and screen order will be easier to be written or changed. Bug: 236072782 Test: atest FingerprintEnrollmentViewModelTest AutoCredentialViewModelTest FingerprintEnrollIntroViewModelTest FingerprintRepositoryTest Change-Id: Icf12c91625db86c2c99081a0108203e607e77f74
6 lines
276 B
XML
6 lines
276 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.fragment.app.FragmentContainerView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/fragment_container_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" /> |