ImportBibTex-Class and related classes (UriUrils, UriUtilsKeys)
BibTexKeys
LibraryFragment
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!
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!