Closed changety closed 9 years ago
https://github.com/RomainPiel/Shimmer-android/blob/master/library/src/main/java/com/romainpiel/shimmer/Shimmer.java
animator = ObjectAnimator.ofFloat(shimmerView, "gradientX", fromX, toX);
Using reflection in this method throws NoSuchMethod Exceptopm when build by proguard. add -keep class com.shimmer.{;}" and fix the problem.
Well what do I need to fix? Just add that line to your project's proguard file.
https://github.com/RomainPiel/Shimmer-android/blob/master/library/src/main/java/com/romainpiel/shimmer/Shimmer.java
animator = ObjectAnimator.ofFloat(shimmerView, "gradientX", fromX, toX);
Using reflection in this method throws NoSuchMethod Exceptopm when build by proguard. add -keep class com.shimmer.{;}" and fix the problem.