lcodecorex / TwinklingRefreshLayout

RefreshLayout that support for OverScroll and better than iOS. 支持下拉刷新和上拉加载的RefreshLayout,自带越界回弹效果,支持RecyclerView,AbsListView,ScrollView,WebView
Apache License 2.0
4k stars 672 forks source link

if (getChildCount() > 1) throw new RuntimeException #11

Closed Freedomhxb closed 7 years ago

Freedomhxb commented 7 years ago
if (getChildCount() > 1) throw new RuntimeException("Only one childView is supported. 只能拥有一个子控件哦。");

在这里构造函数里 getChlidCount 永远是0.大哥....