移动平台
01. 项目 build.gradle配置对okhttp的依赖包 implementation 'com.squareup.okhttp3:okhttp:4.9.0' 02. Activity布局 03. OKHttp客户端对象的创建 04. Get同步请求 05. Get异步请求 06. Post ...
分类:移动平台 时间:2021-05-22 23:44:15 收藏:0 阅读:20
快捷键 功能 cmd+B 编译 cmd+R 编译+运行 cmd+U 单元测试 cmd+option+P 预览 cmd+option+[ 向上移动一行 cmd+option+] 向下移动一行 cmd+shift+Y 开关屏幕下方的调试终端 cmd+0 开关屏幕左侧的功能面板 cmd+1~9 切换屏幕左 ...
分类:移动平台 时间:2021-05-22 23:42:28 收藏:0 阅读:17
yum安装依赖环境有时候会出现: Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum Memory : 42 M RSS (438 MB VSZ) ...
分类:移动平台 时间:2021-05-22 23:23:15 收藏:0 阅读:12
原因: 由于 ListView 控件的 Mouse 相关事件无法获取 MouseButtons.Left 属性,从而 无法使用 MouseDown,MouseMove 事件在MouseButtons.Left 的情况下使其移动, 解决:用一个 Timer 对 MouseEventArgs 的 But ...
分类:移动平台 时间:2021-05-22 10:40:55 收藏:0 阅读:12
01. 配置主Activity布局 02.配置服务 (继续:android.app.Service ) 03.将服务进行注册登记 04.启动服务,停止服务功能的配置 05.StartService 服务生命周期 06. BindService 生命周期 BindService需要有桥梁进行连接处理 ...
分类:移动平台 时间:2021-05-22 00:03:08 收藏:0 阅读:23
1. 前提 @vue/cli-service": "~4.5.0" "vue": "^2.6.11", "vant": "^2.10.2", 1.安装: 不安装lib-flexible 官网说已经停止更新建议安装amfe-flexible npm i -S amfe-flexible 安装成功后 " ...
分类:移动平台 时间:2021-05-22 00:02:42 收藏:0 阅读:34
1.创建SharedPreferences对象: SharedPreferences dataBase = getSharedPreferences("SharedPreferences", Activity.MODE_PRIVATE); SharedPreferences.Editor edit ...
分类:移动平台 时间:2021-05-22 00:00:04 收藏:0 阅读:28
01. 静态注册 这种方式用得少,这里就不记录了,了解下有这种方式就好 02.动态注册 Step01. 定义广播接收者 Step02. 定义广播ID值(Android系统中存在很多的广播内容,需要通过这个ID值来唯一标识一个信息来源) Step03. 注册接收者 Step04. Activity 中 ...
分类:移动平台 时间:2021-05-21 23:56:03 收藏:0 阅读:30
#流式布局京东移动端首页实践(流式布局即百分比布局) ##主要知识点:meta视口标签&背景缩放&结构伪类选择器&定位&二倍精灵图 ###HTML结构 <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content=" ...
分类:移动平台 时间:2021-05-21 23:50:12 收藏:0 阅读:31
Vue3.x中使用Axios请求远程真实Api接口数据 https://github.com/axios/axios 1、安装 npm install axios --save 或者 yarn add axios 或者 cnpm install axios --save 2、引入使用 import ...
分类:移动平台 时间:2021-05-21 23:47:35 收藏:0 阅读:15
114214314416242
上一页共162412条下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!