RTEditor-Toolbar/src/main/java/com/onegravity/rteditor/toolbar/spinner/SpinnerItemAdapter.java
@SuppressLint("ViewHolder")
    @Override
    public final View getView(int position, View convertView, ViewGroup parent) {
        View spinnerView = mInflater.inflate(mSpinnerId, parent, false);

        mParent = parent;
        TextView spinnerTitleView = (TextView) spinnerView.findViewById(R.id.title);
        updateSpinnerTitle(spinnerTitleView);
        return spinnerView;
    }
@SuppressLint("ViewHolder")
    @Override
    public final View getView(int position, View convertView, ViewGroup parent) {
        View spinnerView = mInflater.inflate(mSpinnerId, parent, false);

        mParent = parent;
        TextView spinnerTitleView = (TextView) spinnerView.findViewById(R.id.title);
        updateSpinnerTitle(spinnerTitleView);
        return spinnerView;
    }
@ SuppressLint ( "ViewHolder" ) @ Override public final View getView ( int position , View convertView , ViewGroup parent ) { View spinnerView = mInflater . inflate ( mSpinnerId , parent , false ) ; mParent = parent ; TextView spinnerTitleView = ( TextView ) spinnerView . findViewById ( R . id . title ) ; updateSpinnerTitle ( spinnerTitleView ) ; return spinnerView ; }
This method returns the spinner view
This method returns the spinner view