FAQ Content Provider
Component Detail
Service Layer
low complexity
mobile
1
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Riverpod provider that manages FAQ content fetching, local caching, and keyword search state. Fetches question-answer pairs from the backend on first load and caches them locally for offline access. Exposes a filtered list based on current search query.
faq-content-provider
Responsibilities
- Fetch FAQ content from backend REST API
- Cache fetched content locally for offline access
- Filter questions by keyword for search functionality
- Expose loading, error, and data states to the UI
Interfaces
fetchFaqs()
search(query)
getCachedFaqs()