예제 #1
0
 public EventDetailPage(EventsItem _event)
 {
     InitializeComponent();
     BindingContext = viewModel = new EventDetailModel(_event);
     viewModel.LoadDetailCommand.Execute(null);
 }
예제 #2
0
 public EventDetailModel(EventsItem @event)
 {
     _event            = @event;
     Title             = _event.name;
     LoadDetailCommand = new Command(async() => await ExecuteLoadEventCommand());
 }