File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pickerview/src/main/java/com/bigkoo/pickerview/view Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020 */
2121public class OptionsPickerView <T > extends BasePickerView implements View .OnClickListener {
2222
23- private WheelOptions wheelOptions ;
23+ private WheelOptions < T > wheelOptions ;
2424
2525 private static final String TAG_SUBMIT = "submit" ;
2626 private static final String TAG_CANCEL = "cancel" ;
@@ -76,7 +76,7 @@ private void initView(Context context) {
7676 final LinearLayout optionsPicker = (LinearLayout ) findViewById (R .id .optionspicker );
7777 optionsPicker .setBackgroundColor (mPickerOptions .bgColorWheel );
7878
79- wheelOptions = new WheelOptions (optionsPicker , mPickerOptions .isRestoreItem );
79+ wheelOptions = new WheelOptions <> (optionsPicker , mPickerOptions .isRestoreItem );
8080 if (mPickerOptions .optionsSelectChangeListener != null ) {
8181 wheelOptions .setOptionsSelectChangeListener (mPickerOptions .optionsSelectChangeListener );
8282 }
You can’t perform that action at this time.
0 commit comments