Created
August 17, 2017 12:13
-
-
Save tomwis/321fab635d738572d6d4472b873cec89 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 override void Init(object initData) | |
{ | |
base.Init(initData); | |
if (initData is MonthItem monthItem) | |
{ | |
// Przekazaliśmy obiekt w parametrze PushPageModel w DashboardViewModel | |
} | |
else | |
{ | |
// Tutaj wywołaliśmy PushPageModel w DashboardViewModel bez parametru | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment