伪代码贴上 @Override protected void onCreate(Bundle savedInstanceState) { mWebView = (WebView) findViewById(R.id.webview); //获得webView initWebView(); } pri ...
分类:
移动开发 时间:
2021-06-25 17:11:53
阅读次数:
0
# 垃圾回收机制(了解)# 1.引用计数# 引用计数减少为0时,作为垃圾被回收x = 10 # 直接引用print(id(x))lx = ['a', x] # 间接引用x = 1print(id(lx))print(lx[1])print(x)# 2.标记清除# 循环引用会导致内存泄漏# 循环引用: ...
分类:
编程语言 时间:
2021-06-25 17:11:36
阅读次数:
0
# 可变类型# 值改变,id不变,证明改变的是原值# int,float,str都被设计成了不可分割的整体,不能被改变# 不可变类型# 值改变,id也变,证明原值不可修改# 验证# int是不可变类型x = 10print(id(x))x = 11 # 产生新值print(id(x))# float ...
分类:
编程语言 时间:
2021-06-25 17:09:31
阅读次数:
0
// 获取用户收货地址。调起用户编辑收货地址原生界面,并在编辑完成后返回用户选择的地址 chooseAddr(){ const that = this uni.chooseAddress({ success(res){ that.inputData.ToAddress = res.provinceN ...
分类:
微信 时间:
2021-06-25 17:05:07
阅读次数:
0
源码抢先看: https://github.com/jdf2e/nutui NutUI 3.0 官网:https://nutui.jd.com/3x/#/ 小程序多端适配 设计初衷 在跨端小程序的开发过程中,我们发现没有合适的组件库可以使用,尤其在做电商商城类场景的业务时,没有符合京东 App 规范 ...
分类:
微信 时间:
2021-06-25 17:01:13
阅读次数:
0
mysql引擎 create table t_mysql ( id Int32, name String, ) engine = MySQL('127.0.0.1:3306', 'test', 't', 'root', '123456'); mysql进行ddl: alter table t mod ...
分类:
其他好文 时间:
2021-06-25 16:44:37
阅读次数:
0
在测试APP时异常测试是非常必要的。 安装卸载中的异常测试 一、安装 安装过程中设备重启 安装过程中息屏 安装过程中断网 安装过程中切换网络 安装过程中收到短信提醒 安装过程中收到来电提醒 安装过程中收到闹铃提醒 安装过程中收集系统内存不足 已安装的情况下重复安装,查看安装目录与应用是否正常使用 已 ...
分类:
移动开发 时间:
2021-06-25 16:34:32
阅读次数:
0
###js var href='http://localhost:8083/datas/dataflow/logicJob?id=CMZJJO2100000001&type=proLook' var urlParams = (function(url){ var result = new Objec ...
分类:
其他好文 时间:
2021-06-25 16:32:45
阅读次数:
0
逐行入栈,排序后直接输出第k小的数据 # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self. ...
分类:
编程语言 时间:
2021-06-25 16:32:21
阅读次数:
0
The NuGet package sources are configured through Visual Studio, but they're stored in a per-user configuration file, found at c:\Users\$USER\AppData\R ...
分类:
其他好文 时间:
2021-06-24 18:32:12
阅读次数:
0