Code example for AdapterView.OnItemClickListener

Methods: onItemClick

0
				int offset = 0;
				if (state == REFRESHING) {
					offset = 1;
				} 
				onItemClickListener
						.onItemClick(arg0, arg1, arg2 - offset, arg3);
			} 
 
		}); 
	} 
 
	public void onRefreshComplete() { 
		resetHeader(); 
	} 
 
	public void setOnRefreshListener(OnRefreshListener listener) {
		onRefreshListener = listener;
	} 
 
	public int getFirstVisiblePosition() { 
		return listView.getFirstVisiblePosition();