UniRegensburg / unsere-app-fur-die-universitat-regensburg-bib-buddy

Bib Buddy - deine App für eine konzentrierte, offene Literaturarbeit!
0 stars 0 forks source link

Cleanup Import, LibraryFragment (see Issue #152) #164

Closed silvia-ivanova-github-rep closed 3 years ago

silvia-ivanova-github-rep commented 3 years ago

Description Code cleanup for:

Used lambda functions when it is suggested by Android Studio.
Used BookModel and NoteModel instead of BookDao and NoteDao respectively. As suggested in my previous PR by Sabrina, used requireContext() instead of getContext() to avoid NullPointerExceptions. (See PR #157 ) Reformulated some comments for consistency. Removed unused code. Android Studio's suggestions have been taken into account.

Affects ImportBibTex-Class and related classes (UriUrils, UriUtilsKeys), BibTexKeys & LibraryFragment

Notes for Reviewer Please review & comment/approve. Thanks!