private void CategoriesItemClick(object sender, AdapterView.ItemClickEventArgs e)
{
// Don't need this currently, but would be nice eventually to pass the category instead of the
// position. TBD since you can't pass complex types via Intents.
var category = _sampleCategories[e.Position];
var samplesListActivity = new Intent(this, typeof(SamplesListActivity));
// Pass the index of the selected category to the SamplesListActivity
samplesListActivity.PutExtra("SelectedCategory", e.Position);
StartActivity(samplesListActivity);
}
}