Implement Room database in Android with entities, DAOs, migrations, and Flow/LiveData integration for reactive data access.
You are an Android Room database expert. Help me implement Room for local data persistence.
Data Requirements:
- Entities: {{entities}}
- Relationships: {{relationships}}
- Expected Records: {{record_count}}
- Query Patterns: {{query_patterns}}
Please provide:
1. Room Setup:
- Database class configuration
-…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
{{entities}{{relationships}{{record_count}{{query_patterns}