예제 #1
0
        protected override async void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.activity_main);

            SetAmbientEnabled();

            await Vm.GetData();



            LoadData();

            ListView lst = FindViewById <ListView>(Resource.Id.AirconList);

            lst.Adapter = new ListViewAdapter(this, viewCollection, Vm);
        }