//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);
            }
        }
Пример #2
0
 void LongClick(ProUserAdapterClickEventArgs args) => OnItemLongClick?.Invoke(this, args);
Пример #3
0
 public void Click(ProUserAdapterClickEventArgs args) => OnItemClick?.Invoke(this, args);