My current class is below :
class MyGcmListenerService : GcmListenerService() {}
GCMListenerService is as below
public class GcmListenerService extends zzb {}
Now i'm looking to extend to another constructor. When i try to do this ,
class MyGcmListenerService : GcmListenerService(), PushDataReceiver {}
I get error
Only one class may appear in supertypelist. This type has a constructor, and thus must be initialized here
The PushDataReceiver is as below
public abstract class PushDataReceiver extends BroadcastReceiver
I've been trying to google
Kotlin adding secondary constructor
Somehow I'm not able to get any assist for my issue.