protected fun initData() { val intent = Intent(this, PushMessageService::class.java) this.startService(intent) this.bindService(intent, this.connection, Context.BIND_AUTO_CREATE) }
Initialize the Activity data