示例#1
0
 public WorkoutPage(string category, string type)
 {
     BindingContext = ViewModel = new WorkoutPageViewModel(category, type, 7);
     InitializeComponent();
 }
        public WorkoutPage()
        {
            InitializeComponent();

            BindingContext = new WorkoutPageViewModel();
        }