HorizontalVariableListView
HorizontalVariableListView copied to clipboard
move up and down
Hi,
I use HorizontalVariableListView inside scrollview.It can't move up and down at the touch horizanallistview.
regard Kit
i have the same problem
Hi!
I solved the problem.
In class HorizontalVariableListView
method onInterceptTouchEvent
case MotionEvent.ACTION_MOVE
I added
else {
final ViewParent parent = getParent();
parent.requestDisallowInterceptTouchEvent( false );
}
below if ( xDiff > mTouchSlop ) {}
nice! can you submit a pull request?
I override method
@Override public void onContentChanged() { super.onContentChanged();
HorizontalVariableListView.setOnItemClickedListener( new OnItemClickedListener() {
@Override
public boolean onItemClick( AdapterView<?> parent, View view, int position, long id ) {
do something.
}
} );
}
and in layout
add android:clickable="true"
can you submit a pull request?