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

            adapter          = new SpeakersAdapter(this, Speakers.GetSpeakerData());
            ListView.Adapter = adapter;
        }
Esempio n. 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            adapter          = new SpeakersAdapter(this, Speakers.GetSpeakerData());
            ListView.Adapter = adapter;

            //TODO: Demo5 - Step 1 - uncomment to enable fast scrolling
//          ListView.FastScrollEnabled = true;
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            adapter          = new SpeakersAdapter(this, Speakers.GetSpeakerData());
            ListView.Adapter = adapter;

            // Enable fast scrolling
            ListView.FastScrollEnabled = true;
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var items = new string[] { "Miguel de Icaza", "Nat Friedman", "Bart Decrem", "Scott Hanselman" };

            ListAdapter = new ArrayAdapter <String>(this, Android.Resource.Layout.SimpleListItem1, items);

            // Assign the adapter
            adapter     = new SpeakersAdapter(this, Speakers.GetSpeakerData());
            ListAdapter = adapter;
        }