private void updateAdapter() {
        final LastPositionHelper lph = new LastPositionHelper(this);
        setAdapterCurrentCoordinates(false);
        adapter.notifyDataSetChanged();
        adapter.forceFilter();
        adapter.checkSpecialSortOrder();
        adapter.forceSort();
        updateGui();
        lph.setLastListPosition();
    }
Extract a cache from adapter data.

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