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

为什么现在不能直接全局配置是否加载动画 #3

Closed
Hhongshuai opened this issue Dec 29, 2017 · 2 comments
Closed

为什么现在不能直接全局配置是否加载动画 #3

Hhongshuai opened this issue Dec 29, 2017 · 2 comments

Comments

@Hhongshuai
Copy link

No description provided.

@AriesHoo
Copy link
Owner

可否告知你之前使用的那个版本?现在使用的哪个版本?

@AriesHoo
Copy link
Owner

请参考最新版本AppImpl 里
/**
* Adapter加载更多配置
*
* @param adapter
* @return
*/
@nullable
@OverRide
public LoadMoreView createDefaultLoadMoreView(BaseQuickAdapter adapter) {
if (adapter != null) {
//设置动画是否一直开启
adapter.isFirstOnly(false);
//设置动画
adapter.openLoadAnimation(BaseQuickAdapter.SCALEIN);
}
//方式一:设置FastLoadMoreView--可参考FastLoadMoreView.Builder相应set方法
//默认配置请参考FastLoadMoreView.Builder(mContext)里初始化
return new FastLoadMoreView.Builder(mContext).build();

里不操作 adapter 相应设置动画属性即可。

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