sephiroth74 / HorizontalVariableListView

Horizontal list view for Android which allows variable items widths
859 stars 282 forks source link

FloatMath.sqrt has been removed from Android SDK 23 #108

Open dominicthomas opened 9 years ago

dominicthomas commented 9 years ago

The deprecated class has been removed.

"Historically these methods were faster than the equivalent double-based Math methods. On versions of Android with a JIT they became slower and have since been re-implemented to wrap calls to Math. Math should be used in preference. All methods were removed from the public API in version 23."

http://developer.android.com/reference/android/util/FloatMath.html

The library now needs to use eg. (float) Math.sqrt(pvxpvx + pvypvy);

JaredBanyard commented 9 years ago

+1 Help!

qstuff commented 9 years ago

No big deal: I patched this fork to work with android 6: https://github.com/qstuff/HorizontalVariableListView

JaredBanyard commented 9 years ago

I just ripped out this library and used a RecyclerView with a horizontal LinearLayoutManager. :) (This library is pointless now)

qstuff commented 9 years ago

i would have done this, too, if i had been paid for it in my project. but i had to go for the cheapest solution, for now