02 2021 档案
摘要:Retrofit使用协程发送请求参考文章 :https://www.cnblogs.com/sw-code/p/14451921.html 导入依赖 app的build文件中加入: implementation 'com.squareup.retrofit2:retrofit:2.9.0' impl
阅读全文
摘要:Retrofit2.6开始增加了对Kotlin协程的支持,可以通过suspend函数进行异步调用。本文简单介绍一下使用Kotlin协程配合Retrofit使用,发起网络请求。 导入依赖 app的build文件中加入: implementation 'com.squareup.retrofit2:re
阅读全文
摘要:在git服务器上新建仓库 在本地初始化本地仓库 初始化 git init 添加远程仓库地址 git remote add origin XXX.git 同步 git pull origin master git merge origin/master 上传 git add . git commit
阅读全文

浙公网安备 33010602011771号