private class AStar.Measures extends Object implements android.widget.AdapterView.OnItemSelectedListener
Modifier | Constructor and Description |
---|---|
private |
Measures() |
Modifier and Type | Method and Description |
---|---|
void |
onItemSelected(android.widget.AdapterView<?> parent,
android.view.View view,
int position,
long id)
We show a reference to the measure mode selected.
|
void |
onNothingSelected(android.widget.AdapterView<?> parent)
When no method is selected, nothing happens, since you already have one method selected
by default.
|
public void onItemSelected(android.widget.AdapterView<?> parent, android.view.View view, int position, long id)
onItemSelected
in interface android.widget.AdapterView.OnItemSelectedListener
parent
- parent adapter view.view
- actual view.position
- measure mode.id
- to recognize the actual process.public void onNothingSelected(android.widget.AdapterView<?> parent)
onNothingSelected
in interface android.widget.AdapterView.OnItemSelectedListener
parent
- parent adapter view.