parent
ba405704e8
commit
27a9e85563
@ -1,15 +1,18 @@
|
||||
using VM;
|
||||
using ClientMAUI.VMApp;
|
||||
|
||||
namespace ClientMAUI.Views.Pages;
|
||||
|
||||
public partial class ChampionEditPage : ContentPage
|
||||
{
|
||||
public ChampionVM Champion;
|
||||
public ChampionVM ChampionVM;
|
||||
public ChampionEditPageVM ChampionEditPageVM;
|
||||
|
||||
public ChampionEditPage(ChampionVM champion)
|
||||
{
|
||||
this.Champion = champion;
|
||||
this.ChampionEditPageVM = new ChampionEditPageVM(champion);
|
||||
this.ChampionVM = champion;
|
||||
InitializeComponent();
|
||||
BindingContext = this.Champion;
|
||||
BindingContext = this.ChampionEditPageVM;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue