| com.ab.view.pullview.AbMultiColumnListView.AbMultiColumnListView |
( |
Context |
context | ) |
|
|
inline |
Instantiates a new ab multi column list view.
- 参数
-
| com.ab.view.pullview.AbMultiColumnListView.AbMultiColumnListView |
( |
Context |
context, |
|
|
AttributeSet |
attrs |
|
) |
| |
|
inline |
Instantiates a new ab multi column list view.
- 参数
-
| context | the context |
| attrs | the attrs |
| com.ab.view.pullview.AbMultiColumnListView.AbMultiColumnListView |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyle |
|
) |
| |
|
inline |
Instantiates a new ab multi column list view.
- 参数
-
| context | the context |
| attrs | the attrs |
| defStyle | the def style |
| void com.ab.view.pullview.AbMultiColumnListView.addChildren |
( |
| ) |
|
|
inlineprotected |
| boolean com.ab.view.pullview.AbMultiColumnListView.checkVisibility |
( |
int |
position | ) |
|
|
inline |
遍历List中的每个View,对可见性进行检查.
- 参数
-
- 返回
- true, if successful
| void com.ab.view.pullview.AbMultiColumnListView.findColumnToAdd |
( |
AbViewInfo |
viewInfo | ) |
|
|
inlineprivate |
找到此时应该添加View的一列。原则就是对三列的高度进行判断, 当前高度最小的一列就是应该添加的一列。.
- 参数
-
Gets the adapter.
- 返回
- the adapter
| OnScrollListener com.ab.view.pullview.AbMultiColumnListView.getOnScrollListener |
( |
| ) |
|
|
inline |
Gets the on scroll listener.
- 返回
- the on scroll listener
| int [] com.ab.view.pullview.AbMultiColumnListView.getReleaseImageResIds |
( |
| ) |
|
|
inline |
Gets the release image res ids.
- 返回
- the release image res ids
| void com.ab.view.pullview.AbMultiColumnListView.layoutChildren |
( |
| ) |
|
|
inlineprotected |
| void com.ab.view.pullview.AbMultiColumnListView.onLayout |
( |
boolean |
changed, |
|
|
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
|
inlineprotected |
进行一些关键性的初始化操作,获取AbMultiColumnListView的高度, 以及得到第一列的宽度值。并在这里开始加载第一页的图片。.
- 参数
-
| changed | the changed |
| l | the l |
| t | the t |
| r | the r |
| b | the b |
| void com.ab.view.pullview.AbMultiColumnListView.onScrollChanged |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
oldx, |
|
|
int |
oldy |
|
) |
| |
|
inlineprotected |
| void com.ab.view.pullview.AbMultiColumnListView.setOnScrollListener |
( |
OnScrollListener |
onScrollListener | ) |
|
|
inline |
Sets the on scroll listener.
- 参数
-
| onScrollListener | the new on scroll listener |
| void com.ab.view.pullview.AbMultiColumnListView.setReleaseImageResIds |
( |
int[] |
releaseImageResIds | ) |
|
|
inline |
Sets the release image res ids.
- 参数
-
| releaseImageResIds | the new release image res ids |
| int com.ab.view.pullview.AbMultiColumnListView.columnWidth |
|
private |
| LinearLayout com.ab.view.pullview.AbMultiColumnListView.firstColumn |
|
private |
| int com.ab.view.pullview.AbMultiColumnListView.firstColumnHeight |
|
private |
| boolean com.ab.view.pullview.AbMultiColumnListView.loadOnce |
|
private |
是否已加载过一次layout,这里onLayout中的初始化只需加载一次.
| List<AbViewInfo> com.ab.view.pullview.AbMultiColumnListView.mItems = null |
|
private |
| OnScrollListener com.ab.view.pullview.AbMultiColumnListView.mOnScrollListener = null |
|
private |
| int [] com.ab.view.pullview.AbMultiColumnListView.mReleaseImageResIds |
|
private |
| LinearLayout com.ab.view.pullview.AbMultiColumnListView.scrollLayout |
|
private |
| int com.ab.view.pullview.AbMultiColumnListView.scrollViewHeight |
|
staticprivate |
| LinearLayout com.ab.view.pullview.AbMultiColumnListView.secondColumn |
|
private |
| int com.ab.view.pullview.AbMultiColumnListView.secondColumnHeight |
|
private |
| LinearLayout com.ab.view.pullview.AbMultiColumnListView.thirdColumn |
|
private |
| int com.ab.view.pullview.AbMultiColumnListView.thirdColumnHeight |
|
private |
该类的文档由以下文件生成: