guxiuzhong

Results 5 issues of guxiuzhong

java.lang.ClassCastException: in.srain.cube.views.GridViewWithHeaderAndFooter$HeaderViewGridAdapter cannot be cast to android.widget.BaseAdapter at android.widget.FastScroller.getSectionsFromIndexer(FastScroller.java:879) at android.widget.FastScroller.getPosFromItemCount(FastScroller.java:1151) at android.widget.FastScroller.onItemCountChanged(FastScroller.java:457) at android.widget.AbsListView.onLayout(AbsListView.java:2149) at android.view.View.layout(View.java:15136) at android.view.ViewGroup.layout(ViewGroup.java:4862) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515) at android.widget.FrameLayout.onLayout(FrameLayout.java:450) at android.view.View.layout(View.java:15136) at android.view.ViewGroup.layout(ViewGroup.java:4862) at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1627) at...

java.lang.ClassCastException: in.srain.cube.views.GridViewWithHeaderAndFooter$HeaderViewGridAdapter cannot be cast to android.widget.BaseAdapter 多次滑动到底部 加载更多时必现

上下滑动 列表 有时会触发OnItemClick事件 ,几率出现

TypeSpec finderClass = TypeSpec.classBuilder(mClassElement.getSimpleName() + "$$Finder") 可以参考butterknife的处理方法 ,😄 ,互相学习。 在adapter的viewholder使用回到找不到了类