Browse Source

Extend AppCompatSpinner in SelectionModificationSpinner

pull/559/head
TacoTheDank 4 years ago
parent
commit
16f1b138d9
  1. 5
      app/src/main/java/org/transdroid/core/gui/navigation/SelectionModificationSpinner.java

5
app/src/main/java/org/transdroid/core/gui/navigation/SelectionModificationSpinner.java

@ -20,9 +20,10 @@ import android.content.Context;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.TextView; import android.widget.TextView;
import androidx.appcompat.widget.AppCompatSpinner;
import org.transdroid.R; import org.transdroid.R;
/** /**
@ -31,7 +32,7 @@ import org.transdroid.R;
* *
* @author Eric Kok * @author Eric Kok
*/ */
public class SelectionModificationSpinner extends Spinner { public class SelectionModificationSpinner extends AppCompatSpinner {
private SelectionDropDownAdapter selectionAdapter; private SelectionDropDownAdapter selectionAdapter;
private OnModificationActionSelectedListener onModificationActionSelected = null; private OnModificationActionSelectedListener onModificationActionSelected = null;

Loading…
Cancel
Save