Beispiel #1
0
 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();
     }
 }
Beispiel #2
0
 void OnLongClick(LanguagesAdapterClickEventArgs args) => ItemLongClick?.Invoke(this, args);