Package 

Interface TrailingLoadStateAdapter.OnTrailingListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onLoad() "加载更多"执行的逻辑
      abstract Unit onFailRetry() 失败的情况下,点击重试执行的逻辑
      Boolean isAllowLoading() Whether to allow loading.
      • Methods inherited from class java.lang.Object

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

      • onLoad

         abstract Unit onLoad()

        "加载更多"执行的逻辑

      • onFailRetry

         abstract Unit onFailRetry()

        失败的情况下,点击重试执行的逻辑

      • isAllowLoading

         Boolean isAllowLoading()

        Whether to allow loading. 是否允许进行加载更多(例如下拉刷新时,就不应该进行加载更多)