遇到一个bug
CharlieZheng opened this issue · comments
在SlideDetailsLayout类的innerCanChildScrollVertically(View, int)方法中
if (child instanceof View) {
// ...
}
改为
if (child instanceof ViewGroup) {
// ...
}
因为LinearLayout既instanceof ViewGroup也instanceof View的。
另外ViewCompat.canScrollVertically(View, int)方法仅支持Android API >= 14好像。
望采纳!
@CharlieZheng Get!我看下