Ejemplo n.º 1
0
        private void ShowSummary()
        {
            DictionaryDBHelper db_helper = new DictionaryDBHelper();

            db_helper.UpdateQuestionsStats(duration_start, questions);

            var intent = new Intent(this, typeof(TestSummaryActivity));

            //Bundle bundle = new Bundle();
            //bundle.PutInt("oldQuestions", npOldQuestions.Value);
            //bundle.PutInt("newQuestions", npNewQuestions.Value);
            //bundle.put .PutLongArray("categories", checked_ids.ToArray());
            intent.PutExtra("questions", JsonConvert.SerializeObject(questions));
            intent.PutExtra("parent_activity", "testinput");
            StartActivityForResult(intent, ACTIVITY_SUMMARY);
        }