美文网首页
Kotlin笔记

Kotlin笔记

作者: Mutoou | 来源:发表于2017-07-31 12:27 被阅读0次

    1.创建接口对象

        private val conn = object : ServiceConnection {
            override fun onServiceDisconnected(p0: ComponentName?) {
                TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
            }
    
            override fun onServiceConnected(p0: ComponentName?, p1: IBinder?) {
                TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
            }
        }
    

    2.空处理

    
    

    相关文章

      网友评论

          本文标题:Kotlin笔记

          本文链接:https://www.haomeiwen.com/subject/jgollxtx.html