Пример #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.list_startscreen);

            deleteDirectoryContent(ArchitectView.GetCacheDirectoryAbsoluteFilePath(this));

            var values = getListLabels();

            this.ListAdapter = new ArrayAdapter <string> (this, Android.Resource.Layout.SimpleListItem1, Android.Resource.Id.Text1, values);

            var buttonLaunchUrl = FindViewById <Button> (Resource.Id.buttonLaunchUrl);

            buttonLaunchUrl.Click += (sender, e) => StartActivity(typeof(ARchitectUrlLauncherActivity));
        }