A simple Android application to manage and track student attendance. Built using Kotlin with a clean activity-based structure and RecyclerView.
- Add student details
- View student list
- Track attendance records
- Attendance summary screen
- Bottom navigation for smooth navigation
- Simple, beginner-friendly codebase
- Language: Kotlin
- UI: XML Layouts
- Architecture: Activity-based
- Components:
- RecyclerView
- Adapter pattern
- Bottom Navigation
- Data Repository pattern (basic)
src/main ├── java/com/example/studentattendance │ ├── AddStudentActivity.kt # Screen to add new students │ ├── DataRepository.kt # Handles in-memory student data │ ├── MainActivity.kt # Home screen with student list │ ├── Student.kt # Student data model │ ├── StudentAdapter.kt # RecyclerView adapter │ └── SummaryActivity.kt # Attendance summary screen │ ├── res │ ├── color │ │ └── nav_item_color.xml # Bottom navigation colors │ │ │ ├── drawable # Icons and drawable resources │ │ │ └── layout │ ├── activity_add_student.xml │ ├── activity_main.xml │ ├── activity_summary.xml │ ├── bottom_nav_menu.xml │ └── item_student.xml
-
MainActivity
Displays all students using RecyclerView. -
AddStudentActivity
Allows adding new students to the list. -
DataRepository
Stores student data in memory. -
StudentAdapter
Binds student data to UI elements. -
SummaryActivity
Shows a summary of attendance data.
- Uses in-memory storage only
- Data resets when app is closed
- No authentication or database integration
- Integrate Room database
- Add attendance marking per date
- Export attendance reports (CSV/PDF)
- Migrate to MVVM architecture
- Add teacher/admin authentication
This project is intended for learning and academic use. Feel free to fork and extend it.
Built with Kotlin, XML, and deadline pressure.