DefaultContentProvider

Learn how the SDK serves the content downloaded by the CLI.

A content provider that serves the content downloaded with the CLI. It extends ArrayContentProvider with a loader for the project’s committed files.

The SDK builds one automatically when you create it, so the fallback works without any extra setup. You can also build one from the project to read the content from a specific directory.

Croct's mascot winking
Looking for something specific?

Use the search bar at the top of the page or press / to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

PageDescription
fromProjectLearn how to build a provider from the committed content.