public DropDownAdapter(@Nullable SpinnerAdapter adapter, @Nullable Theme dropDownTheme) { this.mAdapter = adapter; if (adapter instanceof ListAdapter) { this.mListAdapter = (ListAdapter) adapter; } if (dropDownTheme == null) { return; } if (AppCompatSpinner.IS_AT_LEAST_M && (adapter instanceof ThemedSpinnerAdapter)) { ThemedSpinnerAdapter themedAdapter = (ThemedSpinnerAdapter) adapter; if (themedAdapter.getDropDownViewTheme() != dropDownTheme) { themedAdapter.setDropDownViewTheme(dropDownTheme); } } else if (adapter instanceof ThemedSpinnerAdapter) { ThemedSpinnerAdapter themedAdapter2 = (ThemedSpinnerAdapter) adapter; if (themedAdapter2.getDropDownViewTheme() == null) { themedAdapter2.setDropDownViewTheme(dropDownTheme); } } }
public bi(SpinnerAdapter spinnerAdapter, Theme theme) { this.f1367a = spinnerAdapter; if (spinnerAdapter instanceof ListAdapter) { this.f1368b = (ListAdapter) spinnerAdapter; } if (theme == null) { return; } if (bg.f1353a && (spinnerAdapter instanceof ThemedSpinnerAdapter)) { ThemedSpinnerAdapter themedSpinnerAdapter = (ThemedSpinnerAdapter) spinnerAdapter; if (themedSpinnerAdapter.getDropDownViewTheme() != theme) { themedSpinnerAdapter.setDropDownViewTheme(theme); } } else if (spinnerAdapter instanceof dd) { dd ddVar = (dd) spinnerAdapter; if (ddVar.m2705a() == null) { ddVar.m2706a(theme); } } }
public DropDownAdapter(SpinnerAdapter paramSpinnerAdapter, Resources.Theme paramTheme) { this.mAdapter = paramSpinnerAdapter; if ((paramSpinnerAdapter instanceof ListAdapter)) { this.mListAdapter = ((ListAdapter)paramSpinnerAdapter); } if ((paramTheme != null) && (AppCompatSpinner.IS_AT_LEAST_M) && ((paramSpinnerAdapter instanceof ThemedSpinnerAdapter))) { ThemedSpinnerAdapter localThemedSpinnerAdapter = (ThemedSpinnerAdapter)paramSpinnerAdapter; if (localThemedSpinnerAdapter.getDropDownViewTheme() != paramTheme) { localThemedSpinnerAdapter.setDropDownViewTheme(paramTheme); } } }
public adm(SpinnerAdapter paramSpinnerAdapter, Resources.Theme paramTheme) { this.a = paramSpinnerAdapter; if ((paramSpinnerAdapter instanceof ListAdapter)) { this.b = ((ListAdapter)paramSpinnerAdapter); } if ((paramTheme != null) && (adk.a) && ((paramSpinnerAdapter instanceof ThemedSpinnerAdapter))) { ThemedSpinnerAdapter localThemedSpinnerAdapter = (ThemedSpinnerAdapter)paramSpinnerAdapter; if (localThemedSpinnerAdapter.getDropDownViewTheme() != paramTheme) { localThemedSpinnerAdapter.setDropDownViewTheme(paramTheme); } } }