摘要: 对于 ViewModelScope,请使用 androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0-beta01 或更高版本。 对于 LifecycleScope,请使用 androidx.lifecycle:lifecycle-runtime-ktx:2. 阅读全文
posted @ 2020-12-02 09:50 荣超 阅读(1199) 评论(0) 推荐(0)
摘要: 首先要在AndroidManifest.xml 加入权限 这里以存储权限和相机权限 来演示 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/andro 阅读全文
posted @ 2020-12-02 09:45 荣超 阅读(738) 评论(0) 推荐(0)