net.sf.dictccfe.and
Class DictAndActivity.ListViewKeyListener
java.lang.Object
net.sf.dictccfe.and.DictAndActivity.ListViewKeyListener
- All Implemented Interfaces:
- android.widget.AdapterView.OnItemClickListener
- Enclosing class:
- DictAndActivity
private final class DictAndActivity.ListViewKeyListener
- extends java.lang.Object
- implements android.widget.AdapterView.OnItemClickListener
Exact searching if the D-Pad center or Enter key has been pressed
in the ListView in the lower part of the window.
- Version:
- $Revision$
- Author:
- Daniel Stoinski
Method Summary |
void |
onItemClick(android.widget.AdapterView<?> aParent,
android.view.View aView,
int aPosition,
long anId)
Called if the item in the ListView has been selected. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_activity
private final DictAndActivity m_activity
- The activity object to execute actions on it for pressed keys.
DictAndActivity.ListViewKeyListener
public DictAndActivity.ListViewKeyListener(DictAndActivity anActivity)
- Initializes the object for the given activity.
- Parameters:
anActivity
- the activity to execute the action on.
onItemClick
public final void onItemClick(android.widget.AdapterView<?> aParent,
android.view.View aView,
int aPosition,
long anId)
- Called if the item in the ListView has been selected.
- Specified by:
onItemClick
in interface android.widget.AdapterView.OnItemClickListener
- Parameters:
aParent
- ignoredaView
- ignoredaPosition
- ignoredanId
- ignored