Created
May 24, 2022 12:13
-
-
Save lgolubyev/e51df71bb2e622f6efb17dc4c1afcd9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class MainPage | |
{ | |
readonly MainViewModel _viewModel; | |
public MainPage(MainViewModel viewModel) | |
{ | |
InitializeComponent(); | |
BindingContext = _viewModel = viewModel; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment