Interface OnMultiListener

  • All Implemented Interfaces:
    ai.nexconn.chatui.widget.pullrefresh.listener.OnLoadMoreListener , ai.nexconn.chatui.widget.pullrefresh.listener.OnRefreshListener , ai.nexconn.chatui.widget.pullrefresh.listener.OnRefreshLoadMoreListener , ai.nexconn.chatui.widget.pullrefresh.listener.OnStateChangedListener

    
    public interface OnMultiListener
     implements OnRefreshLoadMoreListener, OnStateChangedListener
                        

    Multi-purpose listener.

    • 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 void onHeaderMoving(RefreshHeader header, boolean isDragging, float percent, int offset, int headerHeight, int maxDragHeight) Called during finger pull-down drag (called continuously; isDragging replaces the old onPulling/onReleasing).
      abstract void onHeaderReleased(RefreshHeader header, int headerHeight, int maxDragHeight)
      abstract void onHeaderStartAnimator(RefreshHeader header, int headerHeight, int maxDragHeight)
      abstract void onHeaderFinish(RefreshHeader header, boolean success)
      abstract void onFooterMoving(RefreshFooter footer, boolean isDragging, float percent, int offset, int footerHeight, int maxDragHeight) Called during finger pull-up drag (called continuously; isDragging replaces the old onPulling/onReleasing).
      abstract void onFooterReleased(RefreshFooter footer, int footerHeight, int maxDragHeight)
      abstract void onFooterStartAnimator(RefreshFooter footer, int footerHeight, int maxDragHeight)
      abstract void onFooterFinish(RefreshFooter footer, boolean success)
      • Methods inherited from class ai.nexconn.chatui.widget.pullrefresh.listener.OnStateChangedListener

        onStateChanged
      • Methods inherited from class ai.nexconn.chatui.widget.pullrefresh.listener.OnRefreshListener

        onRefresh
      • Methods inherited from class ai.nexconn.chatui.widget.pullrefresh.listener.OnLoadMoreListener

        onLoadMore
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onHeaderMoving

         abstract void onHeaderMoving(RefreshHeader header, boolean isDragging, float percent, int offset, int headerHeight, int maxDragHeight)

        Called during finger pull-down drag (called continuously; isDragging replaces the old onPulling/onReleasing).

        Parameters:
        header - Header
        isDragging - true if finger is dragging, false if rebound animation
        percent - Pull percentage, value = offset/footerHeight (range: 0 to (footerHeight+maxDragHeight)/footerHeight)
        offset - Pixel offset of pull, range: 0 to (footerHeight+maxDragHeight)
        headerHeight - Height: HeaderHeight or FooterHeight
        maxDragHeight - Maximum drag height
      • onFooterMoving

         abstract void onFooterMoving(RefreshFooter footer, boolean isDragging, float percent, int offset, int footerHeight, int maxDragHeight)

        Called during finger pull-up drag (called continuously; isDragging replaces the old onPulling/onReleasing).

        Parameters:
        footer - Footer
        isDragging - true if finger is dragging, false if rebound animation
        percent - Pull percentage, value = offset/footerHeight (range: 0 to (footerHeight+maxDragHeight)/footerHeight)
        offset - Pixel offset of pull, range: 0 to (footerHeight+maxDragHeight)
        footerHeight - Height: HeaderHeight or FooterHeight
        maxDragHeight - Maximum drag height