# SimpleComponent

public abstract class SimpleComponent

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

## Functions

equals
Link copied to clipboard
public boolean equals(Object obj)
getSpinnerStyle
Link copied to clipboard
public SpinnerStyle getSpinnerStyle()
getView
Link copied to clipboard
public View getView()
hashCode
Link copied to clipboard
public int hashCode()
isSupportHorizontalDrag
Link copied to clipboard
public boolean isSupportHorizontalDrag()
onFinish
Link copied to clipboard
public int onFinish(RefreshLayout refreshLayout, boolean success)
onHorizontalDrag
Link copied to clipboard
public void onHorizontalDrag(float percentX, int offsetX, int offsetMax)
onInitialized
Link copied to clipboard
public void onInitialized(RefreshKernel kernel, int height, int maxDragHeight)
onMoving
Link copied to clipboard
public void onMoving(boolean isDragging, float percent, int offset, int height, int maxDragHeight)
onReleased
Link copied to clipboard
public void onReleased(RefreshLayout refreshLayout, int height, int maxDragHeight)
onStartAnimator
Link copied to clipboard
public void onStartAnimator(RefreshLayout refreshLayout, int height, int maxDragHeight)
onStateChanged
Link copied to clipboard
public void onStateChanged(RefreshLayout refreshLayout, RefreshState oldState, RefreshState newState)
setNoMoreData
Link copied to clipboard
public boolean setNoMoreData(boolean noMoreData)
setPrimaryColors
Link copied to clipboard
public void setPrimaryColors(Array<int> colors)