Skip to content

Commit

Permalink
use custom viewmodel in test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlpoole committed Apr 5, 2024
1 parent 5ffb7f7 commit 0a102a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class ViewModelActivity : AppCompatActivity() {
add(
R.id.fragmentContainerView,
PortalFragment(
portal = PortalBuilder("testportal").create()
portal = PortalBuilder("testportal").create(),
viewModel = viewModel
),
"test"
)
Expand Down

0 comments on commit 0a102a4

Please sign in to comment.