Jason Inbody
08/10/2021, 1:46 AMbindService
doesn't work. Whats the kotlin equivalent?
private fun initiateNokeService() {
val nokeServiceIntent = Intent(this.user.context, NokeDeviceManagerService::class.java)
bindService(nokeServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE)
}
thats the function I'm trying to implement but can't seem to figure out how to bind the serviceJason Inbody
08/10/2021, 10:38 PMbindService
you need to grab it from context.bindService