public ViewOnlineWorkout(Models.OnlineWorkout onlineWorkout)
        {
            InitializeComponent();
            string workout        = onlineWorkout.WorkoutString;
            string workoutReplace = workout.Replace("NEWLINE", "\n");

            Editor.Text = workoutReplace;
        }
Пример #2
0
        public async Task ViewWorkout(object sender, System.EventArgs e)
        {
            var button = (Button)sender;

            Models.OnlineWorkout item = (OnlineWorkout)button.CommandParameter;

            await Navigation.PushAsync(new Views.Profile.ViewOnlineWorkout(item));
        }