HorizontalVariableListView icon indicating copy to clipboard operation
HorizontalVariableListView copied to clipboard

FloatMath.sqrt has been removed from Android SDK 23

Open dominicthomas opened this issue 10 years ago • 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);

dominicthomas avatar Oct 06 '15 10:10 dominicthomas

+1 Help!

JaredBanyard avatar Oct 20 '15 14:10 JaredBanyard

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

qstuff avatar Oct 27 '15 10:10 qstuff

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

JaredBanyard avatar Oct 27 '15 12:10 JaredBanyard

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

qstuff avatar Oct 27 '15 12:10 qstuff