public void Explode(Bitmap bitmap, Rect bound, long startDelay, long duration) { ExplosionAnimator explosion = new ExplosionAnimator(this, bitmap, bound); explosion.AnimationEnd += (s, e) => { if (mExplosions.Count != 0) { mExplosions.Remove(s); } }; explosion.StartDelay = startDelay; explosion.SetDuration(duration); mExplosions.Add(explosion); explosion.Start(); }
public void Remove(Classes.UserContacts.User users) { try { var Index = mMyContactsList.IndexOf(mMyContactsList.FirstOrDefault(a => a.user_id == users.user_id)); if (Index != -1) { mMyContactsList.Remove(users); NotifyItemRemoved(Index); NotifyItemRangeRemoved(0, ItemCount); } } catch (Exception e) { Crashes.TrackError(e); } }
public void Remove(Get_User_Data_Object.Followers users) { try { var Index = mMyFollowersList.IndexOf(mMyFollowersList.FirstOrDefault(a => a.user_id == users.user_id)); if (Index != -1) { mMyFollowersList.Remove(users); NotifyItemRemoved(Index); NotifyItemRangeRemoved(0, ItemCount); } } catch (Exception e) { Crashes.TrackError(e); } }
public override Java.Lang.Object RemoveAt(int p0) => list.Remove(p0);