26 lines
576 B
C#
26 lines
576 B
C#
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();
|
|
}
|
|
|
|
}
|