sephiroth74/HorizontalVariableListView

FloatMath.sqrt has been removed from Android SDK 23

Opened this issue · 4 comments

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);

+1 Help!

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

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

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