Public 成员函数 | |
| AbListViewFooter (Context context) | |
| AbListViewFooter (Context context, AttributeSet attrs) | |
| void | setState (int state) |
| int | getVisiableHeight () |
| void | hide () |
| void | show () |
| void | setTextColor (int color) |
| void | setTextSize (int size) |
| void | setBackgroundColor (int color) |
| ProgressBar | getFooterProgressBar () |
| void | setFooterProgressBarDrawable (Drawable indeterminateDrawable) |
| int | getFooterHeight () |
| void | setVisiableHeight (int height) |
| int | getState () |
静态 Public 属性 | |
| static final int | STATE_READY = 1 |
| static final int | STATE_LOADING = 2 |
| static final int | STATE_NO = 3 |
| static final int | STATE_EMPTY = 4 |
Private 成员函数 | |
| void | initView (Context context) |
Private 属性 | |
| Context | mContext |
| int | mState = -1 |
| LinearLayout | footerView |
| ProgressBar | footerProgressBar |
| TextView | footerTextView |
| int | footerHeight |
© 2012 amsoft.cn 名称:AbListViewFooter.java 描述:加载更多Footer View类.
|
inline |
Instantiates a new ab list view footer.
| context | the context |
|
inline |
Instantiates a new ab list view footer.
| context | the context |
| attrs | the attrs |
|
inline |
描述:获取高度.
|
inline |
描述:获取Footer ProgressBar,用于设置自定义样式.
|
inline |
Gets the state.
|
inline |
Gets the visiable height.
|
inline |
隐藏footerView.
|
inlineprivate |
Inits the view.
| context | the context |
|
inline |
描述:设置背景颜色.
| color | the new background color |
|
inline |
描述:设置Footer ProgressBar样式.
| indeterminateDrawable | the new footer progress bar drawable |
|
inline |
设置当前状态.
| state | the new state |
|
inline |
描述:设置字体颜色.
| color | the new text color |
|
inline |
描述:设置字体大小.
| size | the new text size |
|
inline |
设置高度.
| height | 新的高度 |
|
inline |
显示footerView.
|
private |
The footer content height.
|
private |
The footer progress bar.
|
private |
The footer text view.
|
private |
The footer view.
|
private |
The m context.
|
private |
The m state.
|
static |
The Constant STATE_EMPTY.
|
static |
The Constant STATE_LOADING.
|
static |
The Constant STATE_NO.
|
static |
The Constant STATE_READY.
1.8.8