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

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

            lvData = FindViewById <ListView>(Resource.Id.lvCards);

            ShowList();

            if (tracker == null)
            {
                tracker = new LocationTracker(this);
                tracker.LocationUpdated += tracker_LocationUpdated;
            }
        }
Пример #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

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

            lvData = FindViewById<ListView>(Resource.Id.lvCards);

            ShowList();

            if (tracker == null)
            {
                tracker = new LocationTracker(this);
                tracker.LocationUpdated += tracker_LocationUpdated;
            }
        }