createOfflineDataProvider

Creates an instance of DataProvider that handles offline resource requests.

Upon a resource request, an instance created by this method first checks against an in-memory cache. If the resource is unavailable in the in-memory cache, it propagates the request to the ndsStore.

Parameters

ndsStore

An instance of NdsStore for handling offline requests.