ChooseColorDialog

public class ChooseColorDialog extends NGDialog implements AdapterView.OnItemClickListener

Color picker

Fields

KEY_COLORS

protected static final String KEY_COLORS

mColors

protected List<Pair<Integer, String>> mColors

mColorsListAdapter

protected ChooseColorListAdapter mColorsListAdapter

Methods

onCreateDialog

public Dialog onCreateDialog(Bundle savedInstanceState)

onItemClick

public void onItemClick(AdapterView<?> parent, View view, int position, long id)

onSaveInstanceState

public void onSaveInstanceState(Bundle outState)

setColors

public ChooseColorDialog setColors(List<Pair<Integer, String>> colors)