private void Adapter_ItemClick(object sender, LanguagesAdapterClickEventArgs e) { if (e.Position == 0) { locale = "sw"; adapter.SelectedPosition = 0; adapter.NotifyDataSetChanged(); } else { locale = "en"; adapter.SelectedPosition = 1; adapter.NotifyDataSetChanged(); } }
void OnLongClick(LanguagesAdapterClickEventArgs args) => ItemLongClick?.Invoke(this, args);