AndBase开发框架  1.5.7
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Public 属性 | 所有成员列表
com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams类 参考
类 com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams 继承关系图:

Public 成员函数

 LayoutParams (Context c, AttributeSet attrs)
 
 LayoutParams (int w, int h)
 
 LayoutParams (int w, int h, int viewType)
 
 LayoutParams (ViewGroup.LayoutParams source)
 

Public 属性

int viewType
 
.ExportedProperty boolean recycledHeaderFooter
 
.ExportedProperty boolean forceAdd
 

详细描述

AbsListView extends LayoutParams to provide a place to hold the view type.

构造及析构函数说明

com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.LayoutParams ( Context  c,
AttributeSet  attrs 
)
inline
com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.LayoutParams ( int  w,
int  h 
)
inline
com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.LayoutParams ( int  w,
int  h,
int  viewType 
)
inline
com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.LayoutParams ( ViewGroup.LayoutParams  source)
inline

类成员变量说明

.ExportedProperty boolean com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.forceAdd

When an AbsListView is measured with an AT_MOST measure spec, it needs to obtain children views to measure itself. When doing so, the children are not attached to the window, but put in the recycler which assumes they've been attached before. Setting this flag will force the reused view to be attached to the window rather than just attached to the parent.

.ExportedProperty boolean com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.recycledHeaderFooter

When this boolean is set, the view has been added to the AbsListView at least once. It is used to know whether headers/footers have already been added to the list view and whether they should be treated as recycled views or not.

int com.ab.view.pullview.AbMultiColumnBaseAbsListView.LayoutParams.viewType

View type for this view, as returned by android.widget.Adapter#getItemViewType(int)


该类的文档由以下文件生成: