TheCacophonyProject / bird-monitor

Android application to regularly record birdsong for analysis
GNU General Public License v3.0
11 stars 9 forks source link

Fixes #38 upgrade to java 8 and refactor #40

Closed jackodsteel closed 5 years ago

jackodsteel commented 5 years ago

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.