@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
|
void |
setOnScrollListener(android.widget.AbsListView.OnScrollListener l) |
void |
smoothScrollBy(int distance,
int duration) |
void |
smoothScrollToPosition(int position) |
clickFirstItemContainingText, findIndexOfItemContainingText, findItemContainingText, getItemSelectedListener, performItemClick, populateItems, selectItemWithText, setOnItemSelectedListener
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, getLayoutAnimation, getLayoutAnimationListener, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent, setLayoutAnimation, setLayoutAnimationListener
__constructor__, buildDrawable, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, computeOpaqueFlags, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getBackgroundColor, getBackgroundResourceId, getDrawingCache, getGlobalVisibleRect, getLastTouchEvent, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getQualifiers, getScrollX, getScrollY, getWindowId, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
@Implementation public void setOnScrollListener(android.widget.AbsListView.OnScrollListener l)
@Implementation public void smoothScrollToPosition(int position)
@Implementation public 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