Code example for Adapter

Methods: getItemId

0
	} 
 
	public long getItemIdAtPosition(int position) {
		T adapter = getAdapter();
		return (adapter == null || position < 0) ? INVALID_ROW_ID : adapter
				.getItemId(position);
	} 
 
	@Override 
	public void setOnClickListener(OnClickListener l) {
		throw new RuntimeException(
				"Don't call setOnClickListener for an AdapterView. " 
						+ "You probably want setOnItemClickListener instead"); 
	} 
 
	@Override 
	protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) {
		dispatchFreezeSelfOnly(container);
	} 
 
	@Override