Class SimpleColorDialog.ColorAdapter

java.lang.Object
android.widget.BaseAdapter
eltos.simpledialogfragment.list.AdvancedAdapter<androidx.core.util.Pair<Integer,String>>
eltos.simpledialogfragment.color.SimpleColorDialog.ColorAdapter
All Implemented Interfaces:
android.widget.Adapter, android.widget.Filterable, android.widget.ListAdapter, android.widget.SpinnerAdapter
Enclosing class:
SimpleColorDialog

protected class SimpleColorDialog.ColorAdapter extends AdvancedAdapter<androidx.core.util.Pair<Integer,String>>
  • Constructor Details

    • ColorAdapter

      public ColorAdapter(int[] colors, String[] contentDescriptions, boolean addCustomField)
  • Method Details

    • getView

      public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
      Specified by:
      getView in interface android.widget.Adapter
      Overrides:
      getView in class AdvancedAdapter<androidx.core.util.Pair<Integer,String>>