1 package com.introlab.rtabmap;
3 import android.content.Context;
4 import android.util.AttributeSet;
5 import android.widget.Spinner;
17 public NDSpinner(Context context, AttributeSet attrs)
18 { super(context, attrs); }
20 public NDSpinner(Context context, AttributeSet attrs,
int defStyle)
21 { super(context, attrs, defStyle); }
25 boolean sameSelected =
position == getSelectedItemPosition();
26 super.setSelection(
position, animate);
35 boolean sameSelected =
position == getSelectedItemPosition();
39 getOnItemSelectedListener().onItemSelected(
this, getSelectedView(),
position, getSelectedItemId());