698a74236f
Used requireContext() when a method or parameter specifically requires a Context Used requireActivity() when a method or parameter needs to interact with the hosting Activity is required Used requireArguments() to retrieve fragment arguments. Replaced intent.extras with requireArguments because intent.extras returns both SingleFragmentActivity.FRAGMENT_NAME_EXTRA and SingleFragmentAcitivity.FRAGMENT_ARGS_EXTRA but we need only SingleFragmentAcitivity.FRAGMENT_ARGS_EXTRA requireContext() and requireActivity() ensure that the Fragment is currently attached and prevent null pointer exceptions, providing safer access to the Context or Activity |
||
---|---|---|
.github | ||
.idea | ||
AnkiDroid | ||
annotations | ||
api | ||
common | ||
docs | ||
gradle | ||
lint-rules | ||
testlib | ||
tools | ||
.codecov.yml | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
build.gradle.kts | ||
CONTRIBUTING.md | ||
COPYING | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
jitpack.yml | ||
lint-release.xml | ||
lint.gradle | ||
pre-commit | ||
README.md | ||
settings.gradle.kts |
AnkiDroid
A semi-official port of the open source Anki spaced repetition flashcard system to Android. Memorize anything with AnkiDroid!
Features
- Night mode
- Whiteboard
- Progress widget
- Detailed statistics
- Syncing with AnkiWeb
- Write answers (optional)
- Text-to-speech integration
- More than 6000 premade decks
- Spaced repetition (supermemo 2 algorithm)
- Supported contents: text, images, sounds, MathJax
- Add cards by intent from other applications like dictionaries
Install
Wiki
View Wiki
Help
Check the user manual and the wiki for usage instructions. See the help page for how to submit a bug report or contact a project member, etc.
Contribute
You can contribute to AnkiDroid by beta testing, translating, or submitting code. See the contribution wiki page for more info.
Join Us On
Credits
Code Contributors
Thanks to these awesome code contributors who keep this project going
Sponsors
Backers
A big thank you to each of our backers 🙏
Your generous donations mean the world to us, and we can't express our gratitude enough. Your support fuels our mission and helps us make a real difference
Translators
Thanks to our 1400 translators, for allowing us to be available, partially or totally, in 99 languages as of July 2022.
License
- GPL-3.0 License
- AGPL-3.0 Licence for some part of the back-end
- LGPL-3.0 License for the AnkiDroid API