public override void OnViewRecycled(Java.Lang.Object holder) { if (holder.GetHashCode() == _currentEnfOfListViewHolderHash) { _logger.Info("Current last element has been recycled"); OnEndOfListElementRecycled?.Invoke(this, null); } base.OnViewRecycled(holder); }
public int Compare(Java.Lang.Object o1, Java.Lang.Object o2) { Console.WriteLine("---------------AreaComparator:Compare"); if (o1 is global::Android.Util.Size) { return(Compare((global::Android.Util.Size)o1, (global::Android.Util.Size)o2)); } else { return(o1.GetHashCode() - o2.GetHashCode()); } }
public int CompareTo(Java.Lang.Object o) { Console.WriteLine("---------------Country:CompareTo"); if (o is global::Com.Matilock.Mati_kyc_sdk.Models.Country) { return(CompareTo((global::Com.Matilock.Mati_kyc_sdk.Models.Country)o)); } else { return(this.GetHashCode() - o.GetHashCode()); } }