CardBannerDemo
CardBannerDemo copied to clipboard
麻烦看下空指针这个错误
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$LayoutManager.canScrollVertically()' on a null object reference at com.xuezj.cardbanner.view.CardView.findViewAtCenter(CardView.java:163) at com.xuezj.cardbanner.view.CardView.onLayout(CardView.java:67)