This PR adds support for and beings using Java 8 features. Fixes #38
I've done a bunch of refactoring with this PR, a lot of which is related to Java 8 lambdas.
I've also ran code cleanup/reformat on the whole project using Android Studio default settings to fix whitespace and imports.
All the changes in this PR should not change functionality and are semantically equivalent just improved/clarified.
I have fixed one bug I introduced by not using the UI thread (Fixes #32).
I've tested this on Android 15 using an emulator and functionality is working as expected.
This PR adds support for and beings using Java 8 features. Fixes #38
I've done a bunch of refactoring with this PR, a lot of which is related to Java 8 lambdas. I've also ran code cleanup/reformat on the whole project using Android Studio default settings to fix whitespace and imports.
All the changes in this PR should not change functionality and are semantically equivalent just improved/clarified.
I have fixed one bug I introduced by not using the UI thread (Fixes #32).
I've tested this on Android 15 using an emulator and functionality is working as expected.