Java Code Examples for android.widget.AdapterView#INVALID_ROW_ID
The following examples show how to use
android.widget.AdapterView#INVALID_ROW_ID .
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: android-vlc-remote File: PlaylistAdapter.java License: GNU General Public License v3.0 | 5 votes |
@Override public long getItemId(int position) { if (position < getCount()) { PlaylistItem item = getItem(position); return item.getId(); } return AdapterView.INVALID_ROW_ID; }
Example 2
Source Project: android-oauth-client File: ContentDecoratorAdapter.java License: Apache License 2.0 | 5 votes |
@Override public long getItemId(int position) { if (isItem(position)) { return mAdapter.getItemId(position); } else { return AdapterView.INVALID_ROW_ID; } }
Example 3
Source Project: FakeSearchView File: FakeSearchAdapter.java License: Apache License 2.0 | 4 votes |
@Override public long getItemId(int position) { return AdapterView.INVALID_ROW_ID; }