Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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