diff --git a/TestApp/src/main/java/io/ionic/portals/testapp/MyPortalViewModel.kt b/TestApp/src/main/java/io/ionic/portals/testapp/MyPortalViewModel.kt deleted file mode 100644 index 4e1381d..0000000 --- a/TestApp/src/main/java/io/ionic/portals/testapp/MyPortalViewModel.kt +++ /dev/null @@ -1,7 +0,0 @@ -package io.ionic.portals.testapp - -import io.ionic.portals.PortalViewModel - -class MyPortalViewModel: PortalViewModel() { - -} \ No newline at end of file diff --git a/TestApp/src/main/java/io/ionic/portals/testapp/ViewModelActivity.kt b/TestApp/src/main/java/io/ionic/portals/testapp/ViewModelActivity.kt index 55802ed..c57c917 100644 --- a/TestApp/src/main/java/io/ionic/portals/testapp/ViewModelActivity.kt +++ b/TestApp/src/main/java/io/ionic/portals/testapp/ViewModelActivity.kt @@ -12,7 +12,7 @@ class ViewModelActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) - val viewModel: MyPortalViewModel by viewModels() + //val viewModel: MyPortalViewModel by viewModels() setContentView(R.layout.activity_viewmodel) if (savedInstanceState == null) {