protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            SetContentView(Resource.Layout.Main);

            SupportActionBar.SetDisplayShowHomeEnabled(true);

            var chemicals = new List <Chemical>
            {
                new Chemical {
                    Name = "Niacin", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Biotin", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Chromichlorid", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Natriumselenit", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Manganosulfate", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Natriummolybdate", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Ergocalciferol", DrawableId = Resource.Drawable.Icon
                },
                new Chemical {
                    Name = "Cyanocobalamin", DrawableId = Resource.Drawable.Icon
                },
            };

            _listView         = FindViewById <ListView>(Resource.Id.listView);
            _adapter          = new ChemicalsAdapter(this, chemicals);
            _listView.Adapter = _adapter;
        }
 public ChemicalFilter(ChemicalsAdapter adapter)
 {
     _adapter = adapter;
 }