private async void OnAddQuestion(object sender, EventArgs e)
        {
            url = path.Result.ToString();

            //string str = "gs://educationalsoftware-ba7e4.appspot.com/" + User + "/" + etTestName.Text;
            MultipleChoiceTest test = new MultipleChoiceTest(url, User, Int32.Parse(etNumberOfQuestions.Text), etTestName.Text, etTestNotation.Text);
            await helper.AddToFirebase(test, "Tests").ConfigureAwait(false);

            AddQuestions questions = new AddQuestions(user, etTestName.Text, Int32.Parse(etNumberOfQuestions.Text));

            FragmentManager.BeginTransaction().Replace(Resource.Id.fragment_container, questions).Commit();
        }
Exemple #2
0
 static void Main(string[] args)
 {
     MultipleChoiceTest.RunTheCode();
     Console.ReadLine();
 }