Closed zhzhzoo closed 10 years ago
Beacon class is Parcelable. Please don't use inheritance, use delegation instead. Beacon class might be final in next release.
On Sat, Jul 5, 2014 at 12:24 PM, zhzhzoo notifications@github.com wrote:
Now I'm subclassing
Beacon
to provide more information, I'm not using delegate since I needBeacon
's methods and don't want to write a line for each of them. The problem is I want my subclass Parcelable, however, I was toldBeacon(Parcel)
was not visible when trying to callsuper(parcel)
. So does it exist? If so, could you make it public so thatit would be easier to subclass it?
Reply to this email directly or view it on GitHub: https://github.com/Estimote/Android-SDK/issues/61
Ah thank you very much wiktor ~~
Now I'm subclassing
Beacon
to provide more information, I'm not using delegate since I needBeacon
's methods and don't want to write a line for each of them. The problem is I want my subclass Parcelable, however, I was toldBeacon(Parcel)
was not visible when trying to callsuper(parcel)
. So does it exist? If so, could you make it public so that it would be easier to subclass it?