@Implements(value=android.widget.AdapterView.class) public class ShadowAdapterView<T extends android.widget.Adapter> extends ShadowViewGroup
ShadowView.WindowIdHelper
realViewGroup
attributeSet, realView, scrollToCoordinates
Constructor and Description |
---|
ShadowAdapterView() |
Modifier and Type | Method and Description |
---|---|
void |
clickFirstItemContainingText(java.lang.String targetText) |
int |
findIndexOfItemContainingText(java.lang.String targetText) |
android.view.View |
findItemContainingText(java.lang.String targetText) |
android.widget.AdapterView.OnItemSelectedListener |
getItemSelectedListener() |
boolean |
performItemClick(int position) |
void |
populateItems() |
void |
selectItemWithText(java.lang.String s) |
protected void |
setOnItemSelectedListener(android.widget.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(android.widget.AdapterView.OnItemSelectedListener itemSelectedListener)
public android.widget.AdapterView.OnItemSelectedListener getItemSelectedListener()
public boolean performItemClick(int position)
public int findIndexOfItemContainingText(java.lang.String targetText)
public android.view.View findItemContainingText(java.lang.String targetText)
public void clickFirstItemContainingText(java.lang.String targetText)
public void populateItems()
public void selectItemWithText(java.lang.String s)