Featured answer
Give me an overview of anki-android
Read the answerHide the answer
AnkiDroid is the official Android port of Anki, an open source spaced repetition flashcard system, and it schedules card reviews using options such as the FSRS algorithm. The app is written mainly in Kotlin and built as a set of Gradle modules, with the AnkiDroid module holding 1511 files and the libanki module holding 82. Input enters through entry points such as AnkiDroidApp.kt, the application class, and CardBrowser.kt, a card browsing screen, while DeckPicker.kt and NoteEditorFragment.kt are hotspot files in the same module. Card browsing splits into browser/CardBrowserFragment.kt for the UI and browser/CardBrowserViewModel.kt for the view model, and the libanki, anki-common and common modules sit alongside the app. By file count, the Application layer is the largest with 838 files, followed by Utility with 273 and Config with 52. To start reading, open AnkiDroidApp.kt and CardBrowser.kt, then AnkiDroid/build.gradle.kts for the build settings of each module.
| Layer | Files |
|---|---|
| Application | 838 |
| Service | 6 |
| Data | 1 |
| API | 9 |
| Config | 52 |
| Utility | 273 |
| Docs & Tooling | 16 |
Basis: Inferred · knowledge graph· as of 6f75d30