Class SimpleBoundaryDecider

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

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

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

      • SimpleBoundaryDecider

        SimpleBoundaryDecider()
    • Method Detail

      • canRefresh

         boolean canRefresh(View content)

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

        Parameters:
        content - 内容视图
        Returns:

        true 将会触发下拉刷新

      • canLoadMore

         boolean canLoadMore(View content)

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

        Parameters:
        content - 内容视图
        Returns:

        true 将会触发加载更多