public class HorizontalListView
extends android.support.v7.widget.RecyclerView
Modifier and Type | Field and Description |
---|---|
static long |
ignoredEvent |
LinearLayoutManager |
linearLayoutManager |
Constructor and Description |
---|
HorizontalListView(android.content.Context context) |
HorizontalListView(android.content.Context context,
android.util.AttributeSet attrs) |
HorizontalListView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
boolean |
fling(int velocityX,
int velocityY) |
protected void |
onDetachedFromWindow() |
void |
onNestedScroll(android.view.View target,
int dxConsumed,
int dyConsumed,
int dxUnconsumed,
int dyUnconsumed) |
void |
onNestedScrollAccepted(android.view.View child,
android.view.View target,
int axes) |
boolean |
onTouchEvent(android.view.MotionEvent e) |
void |
scrollItemToPositionWithOffset(DataSourceInterface entity,
int j) |
void |
scrollItemToVisibleArea(DataSourceInterface entity) |
void |
scrollItemToVisibleArea(DataSourceInterface entity,
boolean toMiddle) |
void |
setAdapter(Adapter adapter)
Deprecated.
Use HorizontalListView only with DataSourceListAdapter.
|
void |
setFolderAnimator() |
void |
smoothScrollToPosition(int position) |
void |
smoothScrollToPosition(int position,
boolean toMiddle) |
public static long ignoredEvent
public LinearLayoutManager linearLayoutManager
public HorizontalListView(android.content.Context context)
public HorizontalListView(android.content.Context context, android.util.AttributeSet attrs)
public HorizontalListView(android.content.Context context, android.util.AttributeSet attrs, int defStyle)
public void setFolderAnimator()
public void onNestedScroll(android.view.View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed)
public void onNestedScrollAccepted(android.view.View child, android.view.View target, int axes)
public boolean onTouchEvent(android.view.MotionEvent e)
protected void onDetachedFromWindow()
@Deprecated public void setAdapter(Adapter adapter)
adapter
- The adapter to set.public void smoothScrollToPosition(int position, boolean toMiddle)
public void smoothScrollToPosition(int position)
public void scrollItemToVisibleArea(@NonNull DataSourceInterface entity)
public void scrollItemToVisibleArea(@NonNull DataSourceInterface entity, boolean toMiddle)
public void scrollItemToPositionWithOffset(@NonNull DataSourceInterface entity, int j)
public boolean fling(int velocityX, int velocityY)