/**@class android.widget.AdapterView.OnItemSelectedListener Interface definition for a callback to be invoked when an item in this view has been selected. */ var OnItemSelectedListener = { /**<p>Callback method to be invoked when an item in this view has been selected. This callback is invoked only when the newly selected position is different from the previously selected position or if there was no selected item.</p> Implementers can call getItemAtPosition(position) if they need to access the data associated with the selected item. @param {Object {android.widget.AdapterView}} parent The AdapterView where the selection happened @param {Object {View}} view The view within the AdapterView that was clicked @param {Number} position The position of the view in the adapter @param {Number} id The row id of the item that is selected */ onItemSelected : function( ) {}, /**Callback method to be invoked when the selection disappears from this view. The selection can disappear for instance when touch is activated or when the adapter becomes empty. @param {Object {android.widget.AdapterView}} parent The AdapterView that now contains no selected item. */ onNothingSelected : function( ) {}, };