private void MAdapterOnJoinButtonItemClick(object sender, SearchGroupAdapterClickEventArgs e)
 {
     try
     {
         var item = MAdapter.GetItem(e.Position);
         if (item != null)
         {
             WoWonderTools.SetJoinGroup(Activity, item.GroupId, e.Button);
         }
     }
     catch (Exception exception)
     {
         Methods.DisplayReportResultTrack(exception);
     }
 }
Example #2
0
 //Open Profile Random Group
 private void RandomAdapterOnItemClick(object sender, SearchGroupAdapterClickEventArgs e)
 {
     try
     {
         var item = MAdapter.GetItem(e.Position);
         if (item != null)
         {
             MainApplication.GetInstance()?.NavigateTo(this, typeof(GroupProfileActivity), item);
         }
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception);
     }
 }
 private void MAdapterOnItemClick(object sender, SearchGroupAdapterClickEventArgs e)
 {
     try
     {
         var item = MAdapter.GetItem(e.Position);
         if (item != null)
         {
             MainApplication.GetInstance()?.NavigateTo(Activity, typeof(GroupProfileActivity), item);
         }
     }
     catch (Exception exception)
     {
         Methods.DisplayReportResultTrack(exception);
     }
 }
Example #4
0
        private void GroupsModelOnItemClick(object sender, SearchGroupAdapterClickEventArgs e)
        {
            try
            {
                switch (MAdapter)
                {
                case SearchGroupAdapter adapter:
                {
                    var item = adapter.GetItem(e.Position);
                    if (item != null)
                    {
                        MainApplication.GetInstance()?.NavigateTo(this, typeof(GroupProfileActivity), item);
                    }

                    break;
                }
                }
            }
            catch (Exception exception)
            {
                Methods.DisplayReportResultTrack(exception);
            }
        }