var isShowLoading = function (isLoading, isRefresh) { return isLoading || isRefresh } var isShowMore = function (isLoading, isRefresh, isEmpty, isComplete) { return !isLoading && !isRefresh && !isEmpty && isComplete } var isShowEmpty = function (isLoading, isRefresh, isEmpty) { return !isLoading && !isRefresh && isEmpty } module.exports = { isShowLoading: isShowLoading, isShowMore: isShowMore, isShowEmpty: isShowEmpty, }