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

请教上拉动画显示的问题 #33

Closed
zjyangyong opened this issue Dec 18, 2015 · 3 comments
Closed

请教上拉动画显示的问题 #33

zjyangyong opened this issue Dec 18, 2015 · 3 comments

Comments

@zjyangyong
Copy link

工程中只引入了
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'cn.bingoogolapple:bga-refreshlayout:1.1.2@aar'
这个三个库,
刷新ViewHolder设置成 BGARefreshViewHolder refreshViewHolder = new BGANormalRefreshViewHolder(context, true);
bgaRefreshLayout.setIsShowLoadingMoreView(true);也设置为true
但是上拉刷新的 footview 显示不出来求解原因? 是否和DEMO中没有引入其他库有关系?
谢谢

@bingoogolapple
Copy link
Owner

布局文件中内容视图的高度有没有设置成高度自适应

<!-- 内容控件 -->
    <AnyView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />

@zjyangyong
Copy link
Author

这个有添加的
<ListView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:divider="@android:color/transparent"

@zjyangyong
Copy link
Author

找到原因了,onBGARefreshLayoutBeginLoadingMore()返回值设置成ture就正常了,感谢答疑!

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