How eidu/sample-learning-app works
Main Components
a. Application Layer:
• Sample Learning App (Android Application)
• EIDU Platform Integration
• Learning Package Management
b. Development Infrastructure:
• Custom KtLint Rules System
• Build System (Gradle)
• CI/CD Pipeline
Top Tier: Application Components
Middle Tier: Integration Layer
Bottom Tier: Infrastructure
Key Elements
a. Application Components (Top Tier):
• Main Activity (entry point)
• Learning Unit Run ViewModel (business logic)
• UI Components (using Jetpack Compose, indicated by EiduScaffold)
• Theme System
• Utility Services (Stopwatch, ForegroundStopwatch)
b. Integration Layer (Middle Tier):
• EIDU Platform Interface
• Learning Package Handler
• Asset Management System (connecting to /assets directory)
c. Infrastructure Components (Bottom Tier):
• Custom KtLint Rules Engine
• Build System Configuration
• Testing Framework
• Resource Management
Relationships and Data Flow
• User interaction flow through the UI
• Data flow between ViewModel and UI
• Learning package asset loading
• Integration points with EIDU platform
• Build and validation processes
Technical Details to Highlight
• Kotlin-based architecture
• Android Jetpack components usage
• Custom lint rules implementation
• Resource management system
• Test infrastructure