示例#1
0
 private void MAdapterOnItemClick(object sender, GroupsAdapterClickEventArgs e)
 {
     try
     {
         var item = MAdapter.GetItem(e.Position);
         if (item != null)
         {
             MainApplication.GetInstance()?.NavigateTo(this, typeof(GroupProfileActivity), item.GroupData);
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
示例#2
0
 private void MAdapterOnItemClick(object sender, GroupsAdapterClickEventArgs e)
 {
     try
     {
         var item = MAdapter.GetItem(e.Position);
         if (item != null)
         {
             var intent = new Intent(this, typeof(GroupProfileActivity));
             intent.PutExtra("GroupObject", JsonConvert.SerializeObject(item.GroupData));
             intent.PutExtra("GroupId", item.GroupData.GroupId);
             StartActivity(intent);
         }
     }
     catch (Exception exception)
     {
         Methods.DisplayReportResultTrack(exception);
     }
 }