Пример #1
0
 public void OnFollowButtonItemClick(object sender, RateUsersAdapterClickEventArgs e)
 {
     try
     {
         if (!Methods.CheckConnectivity())
         {
             Toast.MakeText(ActivityContext, ActivityContext.GetString(Resource.String.Lbl_CheckYourInternetConnection), ToastLength.Short)?.Show();
         }
         else
         {
             if (e.Position > -1)
             {
                 UserDataObject item = GetItem(e.Position);
                 if (item != null)
                 {
                     WoWonderTools.SetAddFriend(ActivityContext, item, e.BtnAddUser);
                 }
             }
         }
     }
     catch (Exception exception)
     {
         Methods.DisplayReportResultTrack(exception);
     }
 }
Пример #2
0
 private void LongClick(RateUsersAdapterClickEventArgs args) => ItemLongClick?.Invoke(this, args);
Пример #3
0
 private void FollowButtonClick(RateUsersAdapterClickEventArgs args) => FollowButtonItemClick?.Invoke(this, args);