Get the item in the list of loaded items at the provided index. @param index Index in the loaded item list. Must be >= 0, and < #size() @return The item at the passed index, or null if a null placeholder is at the specified position. @see #size()
(int index)
| 405 | * @see #size() |
| 406 | */ |
| 407 | @Override |
| 408 | @Nullable |
| 409 | public T get(int index) { |
| 410 | T item = mStorage.get(index); |
| 411 | if (item != null) { |
| 412 | mLastItem = item; |
| 413 | } |
| 414 | return item; |
| 415 | } |
| 416 | |
| 417 | /** |
| 418 | * Load adjacent items to passed index. |
no outgoing calls
no test coverage detected