Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DrawerLayout+ViewPager+RecyclerView 加载更多无法显示 #167

Open
xiaotianchang opened this issue Oct 26, 2018 · 2 comments
Open

DrawerLayout+ViewPager+RecyclerView 加载更多无法显示 #167

xiaotianchang opened this issue Oct 26, 2018 · 2 comments

Comments

@xiaotianchang
Copy link

你好,我项目中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也设置了权重等测试,一样加载更多都无法显示出来

@xiaotianchang
Copy link
Author

并且自己也是onCreateView方法初始化的

@Fonbing
Copy link

Fonbing commented Mar 31, 2022

同样的问题+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants