protected override void OnCreate(Bundle savedInstanceState)
        {
            //Includes text1, text2
            base.OnCreate(savedInstanceState);

            var kittens = Kittens.GetKittens();

            var adapter = new SimpleListItem2Adapter(this, kittens);

            this.ListAdapter = adapter;
        }
Пример #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            //Includes icon, text1
            base.OnCreate(savedInstanceState);

            var kittens = Kittens.GetKittens();

            var adapter = new ActivityListItemAdapter(this, kittens);

            this.ListAdapter = adapter;
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            //Includes text1
            base.OnCreate(savedInstanceState);

            var kittens = Kittens.GetKittens();

            this.ListView.ChoiceMode = ChoiceMode.Multiple;

            var adapter = new SimpleListItemActivated1Adapter(this, kittens);

            this.ListAdapter = adapter;
        }