Esempio n. 1
0
        protected override void OnCreate(Bundle?bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.Main);

            var expandableListView = FindViewById <ExpandableListView>(Resource.Id.myExpandableListview);

            expandableListView?.SetAdapter(new ExpandableDataAdapter <LocationModel>(this, LocationModel.CreateLocationList()));

            Title = "Locations Around The World";
        }
Esempio n. 2
0
        public ViewController(IntPtr handle) : base(handle)
        {
            Title = "Locations Around The World";

            _locationList = LocationModel.CreateLocationList();
        }