public void refreshListAtLastPosition(final boolean triggerEmptyCheck) {
            final CacheListActivity activity = activityRef.get();
            if (activity != null) {
                activity.adapter.setSelectMode(false);
                if (activity.type.isStoredInDatabase) {
                    activity.refreshCurrentList(triggerEmptyCheck ? AfterLoadAction.CHECK_IF_EMPTY : AfterLoadAction.NO_ACTION);
                } else {
                    activity.replaceCacheListFromSearch();
                }
            }
            setLastListPosition();
        }
Extract a cache from adapter data.

@param adapterInfo an adapterInfo
@return the pointed cache
main/src/main/java/cgeo/geocaching/CacheListActivity.java