@Implements(value=android.widget.AdapterView.class) public class ShadowAdapterView<T extends Adapter> extends ShadowViewGroup
ShadowView.WindowIdHelper
realViewGroup
attributeSet, realView, scrollToCoordinates
Constructor and Description |
---|
ShadowAdapterView() |
Modifier and Type | Method and Description |
---|---|
void |
clickFirstItemContainingText(String targetText) |
int |
findIndexOfItemContainingText(String targetText) |
View |
findItemContainingText(String targetText) |
AdapterView.OnItemSelectedListener |
getItemSelectedListener() |
boolean |
performItemClick(int position) |
void |
populateItems() |
void |
selectItemWithText(String s) |
protected void |
setOnItemSelectedListener(AdapterView.OnItemSelectedListener itemSelectedListener) |
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
__constructor__, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, 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 setOnItemSelectedListener(AdapterView.OnItemSelectedListener itemSelectedListener)
public AdapterView.OnItemSelectedListener getItemSelectedListener()
public boolean performItemClick(int position)
public int findIndexOfItemContainingText(String targetText)
public void clickFirstItemContainingText(String targetText)
public void populateItems()
public void selectItemWithText(String s)