//Open profile user >> Pro User private void ProUserAdapterOnOnItemClick(object sender, ProUserAdapterClickEventArgs e) { try { if (e.Position <= -1) { return; } var item = ProUserAdapter.GetItem(e.Position); if (item != null) { if (item.Type == "Your") { var window = new PopupController(ActivityContext); window.DisplayPremiumWindow(); } else { QuickDateTools.OpenProfile(ActivityContext, "Close", item, e.Image); } } } catch (Exception exception) { Console.WriteLine(exception); } }
void LongClick(ProUserAdapterClickEventArgs args) => OnItemLongClick?.Invoke(this, args);
public void Click(ProUserAdapterClickEventArgs args) => OnItemClick?.Invoke(this, args);