private void MAdapterOnLikeButtonItemClick(object sender, SearchPageAdapterClickEventArgs e) { try { var item = MAdapter.GetItem(e.Position); if (item != null) { WoWonderTools.SetLikePage(Activity, item.PageId, e.Button); } } catch (Exception exception) { Methods.DisplayReportResultTrack(exception); } }
private void MAdapterOnItemClick(object sender, SearchPageAdapterClickEventArgs e) { try { var item = MAdapter.GetItem(e.Position); if (item != null) { MainApplication.GetInstance()?.NavigateTo(Activity, typeof(PageProfileActivity), item); } } catch (Exception exception) { Console.WriteLine(exception); } }