public abstract class LoadMoreView
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_DEFAULT |
static int |
STATUS_END |
static int |
STATUS_FAIL |
static int |
STATUS_LOADING |
| Constructor and Description |
|---|
LoadMoreView() |
| Modifier and Type | Method and Description |
|---|---|
void |
convert(BaseViewHolder holder) |
abstract int |
getLayoutId()
load more layout
|
protected abstract int |
getLoadEndViewId()
load end view, you can return 0
|
protected abstract int |
getLoadFailViewId()
load fail view
|
protected abstract int |
getLoadingViewId()
loading view
|
int |
getLoadMoreStatus() |
boolean |
isLoadEndGone()
Deprecated.
Use
BaseQuickAdapter.loadMoreEnd(boolean) instead. |
boolean |
isLoadEndMoreGone() |
void |
setLoadMoreEndGone(boolean loadMoreEndGone) |
void |
setLoadMoreStatus(int loadMoreStatus) |
public static final int STATUS_DEFAULT
public static final int STATUS_LOADING
public static final int STATUS_FAIL
public static final int STATUS_END
public void setLoadMoreStatus(int loadMoreStatus)
public int getLoadMoreStatus()
public void convert(BaseViewHolder holder)
public final void setLoadMoreEndGone(boolean loadMoreEndGone)
public final boolean isLoadEndMoreGone()
@Deprecated public boolean isLoadEndGone()
BaseQuickAdapter.loadMoreEnd(boolean) instead.public abstract int getLayoutId()
protected abstract int getLoadingViewId()
protected abstract int getLoadFailViewId()
protected abstract int getLoadEndViewId()