Stor ombearbetning som skall ge splash möjligheter
This commit is contained in:
25
GreadyPoang/Pages/RoundStartingPage.cs
Normal file
25
GreadyPoang/Pages/RoundStartingPage.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Views;
|
||||
|
||||
namespace GreadyPoang.Pages;
|
||||
|
||||
public class RoundStartingPage : BasePage
|
||||
{
|
||||
private readonly RoundStartingViewModelCommands _vm;
|
||||
|
||||
public RoundStartingPage(RoundStartingViewModelCommands vm, SplashViewModelCommands splashVm)
|
||||
: base(new RoundStartingView(vm), splashVm)
|
||||
{
|
||||
Title = "Starta ny Runda";
|
||||
_vm = vm;
|
||||
}
|
||||
|
||||
protected override void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
BindingContext = _vm;
|
||||
_vm.Get();
|
||||
_vm.GetParticipants();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user