# RongSwipeRefreshLayout

public class RongSwipeRefreshLayout

## Constructors

RongSwipeRefreshLayout
Link copied to clipboard
public void RongSwipeRefreshLayout(Context context)
public void RongSwipeRefreshLayout(Context context, AttributeSet attrs)

## Types

OnFlushListener
Link copied to clipboard
public interface OnFlushListener
OnLoadListener
Link copied to clipboard
public interface OnLoadListener

## Properties

isLoadMoreFinish
Link copied to clipboard
public boolean isLoadMoreFinish
isRefreshFinish
Link copied to clipboard
public boolean isRefreshFinish

## Functions

dispatchTouchEvent
Link copied to clipboard
public boolean dispatchTouchEvent(MotionEvent ev)
setAutoLoading
Link copied to clipboard
public void setAutoLoading(boolean autoLoading)
用于设置上拉加载的模式，是将内容滑动底部后自动滑出 FooterView 直接加载， 还是先滑动到最底部，然后再手动的上拉一次才能加载？
setCanLoading
Link copied to clipboard
public void setCanLoading(boolean enabled)
setCanRefresh
Link copied to clipboard
public void setCanRefresh(boolean enabled)
设置是否可以下拉刷新
setLoadMoreFinish
Link copied to clipboard
public void setLoadMoreFinish(boolean loading)
设置加载状态，是否加载传入boolean值进行判断
setOnFlushListener
Link copied to clipboard
public void setOnFlushListener(RongSwipeRefreshLayout.OnFlushListener listener)
setOnLoadListener
Link copied to clipboard
public void setOnLoadListener(RongSwipeRefreshLayout.OnLoadListener listener)
setRefreshing
Link copied to clipboard
public void setRefreshing(boolean flushing)
设置刷新状态，是否刷新有参数 flushing 控制