Interface OnPagedDataLoader

  • All Implemented Interfaces:

    
    public interface OnPagedDataLoader
    
                        

    分页数据加载接口

    Since:

    5.12.0

    Author:

    rongcloud

    • 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
      void )>loadPrevious(OnDataChangeListener<Boolean> listener) 加载上一页数据
      abstract void )>loadNext(OnDataChangeListener<Boolean> listener) 加载下一页数据
      abstract boolean hasNext() 是否有下一页数据
      boolean hasPrevious() 是否有上一页数据
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • loadPrevious

         void )>loadPrevious(OnDataChangeListener<Boolean> listener)

        加载上一页数据

        Parameters:
        listener - 加载完成数据监听
      • loadNext

         abstract void )>loadNext(OnDataChangeListener<Boolean> listener)

        加载下一页数据

        Parameters:
        listener - 加载完成数据监听
      • hasNext

         abstract boolean hasNext()

        是否有下一页数据

        Returns:

        是否有下一页数据

      • hasPrevious

         boolean hasPrevious()

        是否有上一页数据

        Returns:

        是否有上一页数据