Пример #1
0
 // Event Promoted Pages => Using Get_General_Data_Object.Promoted_Pages => Open Page_ProfileActivity
 private void ProPagesAdapter_OnItemClick(object sender, ProPages_AdapterClickEventArgs adapterClickEvents)
 {
     try
     {
         var position = adapterClickEvents.Position;
         if (position >= 0)
         {
             var item = ProPagesAdapter.GetItem(position);
             if (item != null)
             {
                 var Int = new Intent(Context, typeof(Page_ProfileActivity));
                 Int.PutExtra("PromotedPages", JsonConvert.SerializeObject(item));
                 Int.PutExtra("PagesType", "Liked_PromotedPages");
                 StartActivity(Int);
             }
         }
     }
     catch (Exception e)
     {
         Crashes.TrackError(e);
     }
 }