Skip to content

Repository files navigation

🚀 LearningAI – AI-Driven Collaborative Learning Ecosystem

Kotlin Compose Firebase AI

LearningAI is a sophisticated Android application that merges Generative AI with Social Learning. It enables a real-time, role-based classroom environment where AI-generated assessments are integrated directly into a collaborative chat workflow.


LearningAI Project Showcase


✨ Key Features

🤖 AI-Powered Assessment Engine

  • On-Demand Quiz Generation: Leverages the Grok Pro API to generate context-aware MCQs based on specific subjects and difficulty levels.
  • Smart Prompting: A dynamic "AI Invite Card" system within the chat to trigger quiz generation for the group instantly.

🏛 Real-time Classroom & Collaboration

  • Synchronous Chat: Powered by Firebase Firestore, providing real-time messaging with sub-second latency.
  • Role-Based Access Control (RBAC): Distinct workflows and permissions for Teachers (Admin) and Students (Members).
  • Granular Security: Professional Firestore Security Rules ensuring that classroom data, messages, and results are only accessible to verified members.

📱 Modern Mobile UX/UI

  • Material 3 Design: A fully responsive UI utilizing Dynamic Color palettes, glassmorphic components, and smooth animations.
  • Type-Safe Navigation: A robust navigation graph handling complex, multi-parameter dynamic routes without crashes.
  • Contact Integration: Seamlessly add friends directly from local device contacts into virtual classrooms.

🏗 Tech Stack & Architecture

The app is built using Clean Architecture principles to ensure high maintainability and scalability.

  • UI: Jetpack Compose (Declarative UI)
  • Architecture: MVVM (Model-View-ViewModel)
  • State Management: StateFlow & SharedFlow (Reactive programming)
  • Database & Auth: Firebase Firestore & Firebase Authentication
  • AI Logic: Google Gemini AI API
  • Serialization: Gson for complex object parsing

📂 System Design (Package Structure)

com.example.learningai
├── 📁 classroom     # Real-time chat, AI Invites, Member Management
├── 📁 home          # Dashboard with dynamic subject modules
├── 📁 model         # Domain models (Message, User, QuizResult)
├── 📁 nav           # Type-safe Navigation Graph & Route Definitions
├── 📁 repository    # Abstracted Data Layer (Firebase/API)
└── 📁 user          # Authentication and User Profile Logic
Unlike basic apps, LearningAI implements professional-grade security:

Member Validation: Custom rules validate user existence in a classroom before allowing data access.

Admin Constraints: Restricts quiz management and classroom settings to authorized creators.

Data Integrity: Implements server-side timestamps and atomic operations.

👨‍💻 Author
Datta Bodkhe Full-Stack Android Developer

🌐 github.dattabodkhe.com | 📧 Email : bodkhedatta77@gmail.com

💡 Project Status: This project reflects a complete engineering lifecycle—from integrating LLMs (Gemini) to managing complex state and secure cloud backends.

About

Multi-subject Android learning app using Jetpack Compose, MVVM & StateFlow with MCQs, notes, and AI-ready architecture

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages