Beispiel #1
0
        private async void AddCommentBtn_Click(object sender, EventArgs e)
        {
            type    = qualificationSPN.SelectedItem.ToString();
            comment = commentTV.Text;

            int result = await MusicoConnUtil.AddComment(comment, type, bandId, userId);

            Intent intent = new Intent(this, typeof(CommentsActivity));

            intent.PutExtra("name", bandName);
            intent.PutExtra("id", userId);

            Toast.MakeText(this, "Comment added!", ToastLength.Short).Show();
            StartActivity(intent);
            Finish();
        }