Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dominicthomas opened this issue Oct 6, 2015 · 4 comments
Open

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

dominicthomas opened this issue Oct 6, 2015 · 4 comments

Comments

@dominicthomas
Copy link

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
Copy link

+1 Help!

@qstuff
Copy link

qstuff commented Oct 27, 2015

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

@JaredBanyard
Copy link

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

@qstuff
Copy link

qstuff commented Oct 27, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants