emilsjolander / android-FlipView

A small, easy to use android library for implementing flipping between views as seen in the popular Flipboard application
Apache License 2.0
924 stars 273 forks source link

Sometimes I have an error #20

Closed hoangpn412 closed 11 years ago

hoangpn412 commented 11 years ago

java.lang.NoSuchMethodError: android.view.View.getLayerType at com.epic.flipview.FlipView.setDrawWithLayer(FlipView.java:874) at com.epic.flipview.FlipView.dispatchDraw(FlipView.java:643)

I don't know that error is ? Sometimes I have it.

I have another question: in your sample code, the min sdk is 8. With devices have sdk < 8, can lib run well ?

emilsjolander commented 11 years ago

min sdk in library is a typo. will fix.

NoSuchMethodError should only be caused by running this library on sub api 11 devices which are not supported

emilsjolander commented 11 years ago

And you must be using a old version of the library because i just looked and the min version is set to 11 in the sample code already

rahulkapoor1 commented 11 years ago

Emils will this library not works on API < 11 ? I am also facing the same issue in API 8

emilsjolander commented 11 years ago

No. Please read the README. Only api 11+ are supported

rahulkapoor1 commented 11 years ago

ok emils. thanks for your beautiful library .