AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.83k stars 836 forks source link

Add nullability annotations #788

Open HughIngram opened 5 years ago

HughIngram commented 5 years ago

There are many methods within the api for this library which have nullable return types but no nullability annotation. The api would be a lot nicer to use (especially in Kotlin) if there were full coverage of the public methods.

The specific area where I have had issues is the method Beacon#getId2

davidgyoung commented 5 years ago

@HughIngram, agreed this would be good to add. I would welcome a pull request if you would like to put one together.

HughIngram commented 5 years ago

@davidgyoung will do.