问题
I have an Android Application that among other things monitor beacons using the AltBeacon library. My problem is that, from my understanding, to have a class monitoring beacons you must make this class extend Application. But I already have a class extending Application.
Now I cant make my other class not extend Application and I cant make my "beaconClass" extend this class.
My only option is to find a way to use the AltBeacon library without extending Application.
So I would like to know if this is even possible and is there any way I could achieve this.
来源:https://stackoverflow.com/questions/30511492/using-the-altbeacon-library-without-extending-application