ShadowListView
@Implements(android.widget.AbsListView.class) public class ShadowAbsListView extends ShadowAdapterView
ShadowView.WindowIdHelper
attributeSet, realView, scrollToCoordinates
realViewGroup
Constructor | Description |
---|---|
ShadowAbsListView() |
Modifier and Type | Method | Description |
---|---|---|
int |
getLastSmoothScrollByDistance() |
Robolectric accessor for the last smoothScrollBy distance
|
int |
getLastSmoothScrollByDuration() |
Robolectric accessor for the last smoothScrollBy duration
|
AbsListView.OnScrollListener |
getOnScrollListener() |
Robolectric accessor for the onScrollListener
|
int |
getSmoothScrolledPosition() |
Robolectric accessor for the last smoothScrolledPosition
|
protected void |
setOnScrollListener(AbsListView.OnScrollListener l) |
|
protected void |
smoothScrollBy(int distance,
int duration) |
|
protected void |
smoothScrollToPosition(int position) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clickFirstItemContainingText, findIndexOfItemContainingText, findItemContainingText, getItemSelectedListener, performItemClick, populateItems, selectItemWithText, setOnItemSelectedListener
__constructor__, addOnAttachStateChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeOnAttachStateChangeListener, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
@Implementation protected void setOnScrollListener(AbsListView.OnScrollListener l)
@Implementation protected void smoothScrollToPosition(int position)
@Implementation protected void smoothScrollBy(int distance, int duration)
public AbsListView.OnScrollListener getOnScrollListener()
public int getSmoothScrolledPosition()
public int getLastSmoothScrollByDistance()
public int getLastSmoothScrollByDuration()