Ejemplo n.º 1
0
 //Open profile user  >> Pro User
 private void ProUserAdapterOnItemClick(object sender, ProUserAdapterClickEventArgs e)
 {
     try
     {
         if (e.Position > -1)
         {
             var item = ProUserAdapter.GetItem(e.Position);
             if (item != null)
             {
                 if (item.Type == "Your")
                 {
                     var window = new PopupController(Activity);
                     window.DisplayPremiumWindow();
                 }
                 else
                 {
                     QuickDateTools.OpenProfile(Activity, "Close", item, e.Image);
                 }
             }
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
Ejemplo n.º 2
0
 private void BtnGetPremiumOnClick(object sender, EventArgs e)
 {
     try
     {
         var window = new PopupController(Activity);
         window.DisplayPremiumWindow();
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }