Code example for Adapter

Methods: getItem

0
    } 
 
    public Object getItemAtPosition(int position) {
        T adapter = getAdapter();
        return adapter == null || position < 0 ? null : adapter
                .getItem(position);
    } 
 
    public long getItemIdAtPosition(int position) {
        T adapter = getAdapter();
        return adapter == null || position < 0 ? AdapterView.INVALID_ROW_ID
                : adapter.getItemId(position);
    } 
 
    public int getLastVisiblePosition() { 
        return mFirstPosition + getChildCount() - 1;
    } 
 
    public final OnItemClickListener getOnItemClickListener() { 
        return mOnItemClickListener;
Contextual code suggestions in your IDE  Get Codota for Java