Class SimpleComponent

  • All Implemented Interfaces:

    
    public abstract class SimpleComponent
    
                        

    Component 初步实现 实现 Header 和 Footer 时,继承 ComponentAbstract 的话可以少写很多接口方法 Created by scwang on 2018/2/6.

    • 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
      boolean equals(Object obj)
      int hashCode()
      View getView()
      int onFinish(RefreshLayout refreshLayout, boolean success)
      void setPrimaryColors(Array<int> colors)
      SpinnerStyle getSpinnerStyle()
      void onInitialized(RefreshKernel kernel, int height, int maxDragHeight)
      boolean isSupportHorizontalDrag()
      void onHorizontalDrag(float percentX, int offsetX, int offsetMax)
      void onMoving(boolean isDragging, float percent, int offset, int height, int maxDragHeight)
      void onReleased(RefreshLayout refreshLayout, int height, int maxDragHeight)
      void onStartAnimator(RefreshLayout refreshLayout, int height, int maxDragHeight)
      void onStateChanged(RefreshLayout refreshLayout, RefreshState oldState, RefreshState newState)
      boolean setNoMoreData(boolean noMoreData)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • equals

         boolean equals(Object obj)
      • onFinish

         int onFinish(RefreshLayout refreshLayout, boolean success)
      • onInitialized

         void onInitialized(RefreshKernel kernel, int height, int maxDragHeight)
      • onHorizontalDrag

         void onHorizontalDrag(float percentX, int offsetX, int offsetMax)
      • onMoving

         void onMoving(boolean isDragging, float percent, int offset, int height, int maxDragHeight)
      • onReleased

         void onReleased(RefreshLayout refreshLayout, int height, int maxDragHeight)
      • onStartAnimator

         void onStartAnimator(RefreshLayout refreshLayout, int height, int maxDragHeight)
      • onStateChanged

         void onStateChanged(RefreshLayout refreshLayout, RefreshState oldState, RefreshState newState)