android-coverflow icon indicating copy to clipboard operation
android-coverflow copied to clipboard

Runnung your lib on IceCream/Sandwich

Open gkapusta opened this issue 11 years ago • 2 comments

From [email protected] on December 10, 2013 15:33:45

What steps will reproduce the problem? 1.setting the project min sdk to IceCream/Sandwich(API level 14) What is the expected output? What do you see instead? The project won't run because of a deprecation belongs to the Gallery Android class that belongs to (API level 16) or what known as JellyBean. What version of the product are you using? On what operating system? i just downloaded it from here right now, i think it's the last version, and running on eclipse kepler on windows7

Original issue: http://code.google.com/p/android-coverflow/issues/detail?id=11

gkapusta avatar Apr 16 '14 08:04 gkapusta

Need this fix too. Has anyone any idea on how to fix this? I don't really understand the problem. I saw that Gallery has been deprecated, but it should work anyway.

edoardotognoni avatar Jun 05 '14 12:06 edoardotognoni

Found it. Inside getChildStaticTransformation you must add: if (Build.VERSION.SDK_INT >= 16) { // If version >= JellyBean, each child must be invalidated manually child.invalidate(); }

edoardotognoni avatar Jun 05 '14 13:06 edoardotognoni