Skip to content

Commit

Permalink
README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
FarshadTahmasbi authored Aug 20, 2019
1 parent b21f7f6 commit 2599721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Make sure your project includes jcenter in its repositories and add this to buil

## How to use

There is an extension value named **vita** that give you access to a singleton object of Vita everywhere, Just pass your desired VitaOwner and get the ViewModel you want:
There is an extension value named **vita** that gives you access to a singleton object of Vita everywhere, Just pass your desired VitaOwner and get the ViewModel you want:

`val myViewModel = vita.with(VitaOwner.Multiple(this)).getViewModel<MyViewModel>()`

Expand Down

0 comments on commit 2599721

Please sign in to comment.