Open dsuresh-ap opened 7 years ago
Here's the stack trace when using version 0.1.4:
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams at com.synnapps.carouselview.CarouselView.setIndicatorMarginVertical(CarouselView.java:456)
When calling setIndicatorMarginVertical() it crashes with the following exception. It does not happen when setting the indicator margin attributes in the layout file.
Caused by: java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams at com.synnapps.carouselview.CarouselView.setIndicatorMarginVertical(CarouselView.java:450)