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

Public 成员函数

ScrollView getParentScrollView ()
 
void setParentScrollView (ScrollView parentScrollView)
 
int getMaxHeight ()
 
void setMaxHeight (int maxHeight)
 
 AbInnerListView (Context context, AttributeSet attrs)
 
boolean onInterceptTouchEvent (MotionEvent ev)
 

Protected 成员函数

void onMeasure (int widthMeasureSpec, int heightMeasureSpec)
 

Private 成员函数

void setParentScrollAble (boolean flag)
 

Private 属性

ScrollView parentScrollView
 
int maxHeight
 

详细描述

© 2012 amsoft.cn 名称:AbInnerListView.java 描述:这个ListView不会与父亲是个ScrollView与List的产生事件冲突

作者
还如一梦中
版本
v1.0
日期
:2013-10-24 下午1:39:31

构造及析构函数说明

com.ab.view.sample.AbInnerListView.AbInnerListView ( Context  context,
AttributeSet  attrs 
)
inline

Instantiates a new ab inner list view.

参数
contextthe context
attrsthe attrs

成员函数说明

int com.ab.view.sample.AbInnerListView.getMaxHeight ( )
inline

Gets the max height.

返回
the max height
ScrollView com.ab.view.sample.AbInnerListView.getParentScrollView ( )
inline

Gets the parent scroll view.

返回
the parent scroll view
boolean com.ab.view.sample.AbInnerListView.onInterceptTouchEvent ( MotionEvent  ev)
inline

描述:TODO.

版本
v1.0
参数
evthe ev
返回
true, if successful
参见
android.widget.AbsListView::onInterceptTouchEvent(android.view.MotionEvent)
作者
: amsoft.cn
日期
:2013-6-17 上午9:04:48
void com.ab.view.sample.AbInnerListView.onMeasure ( int  widthMeasureSpec,
int  heightMeasureSpec 
)
inlineprotected

描述:TODO.

版本
v1.0
参数
widthMeasureSpecthe width measure spec
heightMeasureSpecthe height measure spec
参见
android.widget.ListView::onMeasure(int, int)
作者
: amsoft.cn
日期
:2013-6-17 上午9:04:48
void com.ab.view.sample.AbInnerListView.setMaxHeight ( int  maxHeight)
inline

Sets the max height.

参数
maxHeightthe new max height
void com.ab.view.sample.AbInnerListView.setParentScrollAble ( boolean  flag)
inlineprivate

Sets the parent scroll able.

参数
flagthe new parent scroll able
void com.ab.view.sample.AbInnerListView.setParentScrollView ( ScrollView  parentScrollView)
inline

Sets the parent scroll view.

参数
parentScrollViewthe new parent scroll view

类成员变量说明

int com.ab.view.sample.AbInnerListView.maxHeight
private

The max height.

ScrollView com.ab.view.sample.AbInnerListView.parentScrollView
private

The parent scroll view.


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