Code example for AdapterView.OnItemSelectedListener

Methods: onNothingSelected

0
        } 
    } 
 
    public void onNothingSelected(AdapterView<?> parent) {
        if (mOnItemSelectedListener != null) {
            mOnItemSelectedListener.onNothingSelected(parent);
        } 
    } 
 
    public int getPinnedHeaderHeight(int viewIndex) {
        ensurePinnedHeaderLayout(viewIndex);
        return mHeaders[viewIndex].view.getHeight();
    } 
 
    /** 
     * Set header to be pinned at the top. 
     * 
     * @param viewIndex index of the header view 
     * @param y is position of the header in pixels. 
     */ 
    public void setHeaderPinnedAtTop(int viewIndex, int y) {