Open xiaotianchang opened 5 years ago
你好,我项目中MainAtivity是viewpager+fragment,外边嵌套了DrawerLayout左边侧滑菜单,fragment里使用了这个,<cn.bingoogolapple.refreshlayout.BGARefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/bgarefreshlayout" android:layout_width="match_parent" android:layout_height="match_parent">
<!-- BGARefreshLayout的直接子控件 --> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerview" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> </android.support.v7.widget.RecyclerView>
</cn.bingoogolapple.refreshlayout.BGARefreshLayout>
这样有设置子控件是占权重为1,但是就是加载更多不显示,自己尝试了很多种在外边的viewpager也设置了权重等测试,一样加载更多都无法显示出来
并且自己也是onCreateView方法初始化的
同样的问题+1
你好,我项目中MainAtivity是viewpager+fragment,外边嵌套了DrawerLayout左边侧滑菜单,fragment里使用了这个,<cn.bingoogolapple.refreshlayout.BGARefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/bgarefreshlayout" android:layout_width="match_parent" android:layout_height="match_parent">
</cn.bingoogolapple.refreshlayout.BGARefreshLayout>
这样有设置子控件是占权重为1,但是就是加载更多不显示,自己尝试了很多种在外边的viewpager也设置了权重等测试,一样加载更多都无法显示出来