Interface ScrollBoundaryDecider

  • All Implemented Interfaces:

    
    public interface ScrollBoundaryDecider
    
                        

    滚动边界 Created by scwang on 2017/7/8.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean canRefresh(View content) 根据内容视图状态判断是否可以开始下拉刷新
      abstract boolean canLoadMore(View content) 根据内容视图状态判断是否可以开始上拉加载
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • canRefresh

         abstract boolean canRefresh(View content)

        根据内容视图状态判断是否可以开始下拉刷新

        Parameters:
        content - 内容视图
        Returns:

        true 将会触发下拉刷新

      • canLoadMore

         abstract boolean canLoadMore(View content)

        根据内容视图状态判断是否可以开始上拉加载

        Parameters:
        content - 内容视图
        Returns:

        true 将会触发加载更多