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