protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); //set our view from the"ExpandableListView" layout Resource SetContentView(Resource.Layout.ExpandableListView); var toolbar2 = FindViewById<Android.Support.V7.Widget.Toolbar>(Resource.Id.toolbar2); SetSupportActionBar(toolbar2); SupportActionBar.Title = "Mecahanics of Machines"; expandableListView = FindViewById<ExpandableListView>(Resource.Id.expandableList); //set data SetData(out mAdapter); expandableListView.SetAdapter(mAdapter); expandableListView.ChildClick += (s, e) => { Toast.MakeText(this, "" + mAdapter.GetChild(e.GroupPosition, e.ChildPosition), ToastLength.Short).Show(); }; }