优化首页刷新问题

修复轮播图游戏名显示异常问题
This commit is contained in:
kehaoyuan
2019-11-26 11:38:53 +08:00
parent 67eddc99ef
commit c61cfcbed9
6 changed files with 26 additions and 22 deletions

View File

@ -503,9 +503,7 @@ public class BindingAdapters {
@BindingAdapter("isRefreshing")
public static void isRefreshing(SwipeRefreshLayout layout, LoadStatus status) {
if (status == LoadStatus.INIT_LOADING) {
layout.setRefreshing(true);
} else {
if (status != LoadStatus.INIT_LOADING && status != LoadStatus.LIST_LOADING) {
layout.setRefreshing(false);
}
}