Jan 2, 2024 In .NET and native JAVA you can get a hashcode of any object. (Think signature) Anyway, found myself in need of this so: Code: Private Sub GetHashCode(o As Object) As Int Dim jo2 As JavaObject = o Return jo2.RunMethod("hashCode", Null) End Sub Not tested in B4A (Works in B4A) I would amigine B4I is way different. Last edited: Jan 10, 2024 Click to expand...
In .NET and native JAVA you can get a hashcode of any object. (Think signature) Anyway, found myself in need of this so: Code: Private Sub GetHashCode(o As Object) As Int Dim jo2 As JavaObject = o Return jo2.RunMethod("hashCode", Null) End Sub Not tested in B4A (Works in B4A) I would amigine B4I is way different.