The amount of data that models road attributes is too large to be stored in the memory of a running application. The Location Library provides a CacheManager to avoid performing the following expensive operations often:
The Location Library uses the
CacheManager you created. You don't need to use the
import com.here.platform.location.dataloader.core.caching.CacheManager val cacheManager = CacheManager.withLruCache()
import com.here.platform.location.dataloader.core.caching.CacheManager; final CacheManager cacheManager = CacheManager.withLruCache();
For basic use, the above information is helpful. For more information about advanced use, see Data Loaders.