参考自 "Android 沉浸式状态栏完美解决方案" 基本功能 1. 状态栏深色或浅色图标切换 2. 自定义状态栏背景 3. 设置沉浸式状态栏 集成 先准备几个工具类 1.SystemBarTintManager 2. StatusBarUtil 3. StatusBarHeightView 4. ...
分类:
移动开发 时间:
2020-05-15 10:04:09
阅读次数:
74
一、实验目的 1)了解代码审查的含义; 2)掌握相关编程规范检查工具的安装与使用; 二、实验内容及要求 Code Review中文应该译作“代码审查”或是“代码评审”或“代码复查”,是指通过阅读代码来检查源代码与编码标准的符合性以及代码质量的活动。Code Review主要用来在软件工程过程中改进代 ...
分类:
其他好文 时间:
2020-05-14 18:59:03
阅读次数:
62
“Navicate Premium” is demaged and cant't be opened.You should move it to the Trash. 意思是`“Navicate Premium”这个应用已经损坏了,让我扔到垃圾箱里,难道是我没下载完整?于是我又重新下载了几次,还是还 ...
分类:
移动开发 时间:
2020-05-13 14:00:51
阅读次数:
109
React通过虚拟DOM在真实DOM和js之间加了一个缓存的效果,之后React组件在更新的过程中,会通过React内部的diff算法来算出最终需要操作的最小DOM节点,以达到渲染上的一个优化,性能最优的一个效果。 对于我们开发者来说,如果碰到一些比较特别的组件,我们可以通过shouldCompon ...
分类:
其他好文 时间:
2020-05-12 09:49:27
阅读次数:
77
前言 页面上有些元素定位路径比较复杂,可以先定位到该元素使用别名,通过这个别名去操作元素,这样看起来简洁一些。 .as()使用别名定位元素 table表格上的元素定位使用示例 // The following DOM command chain is unwieldy. // To avoid re ...
分类:
其他好文 时间:
2020-05-11 21:54:39
阅读次数:
65
{ // 决定 linter 是在保存时还是输入时运行。 "php.validate.run": "onSave", // 启用/禁用内置的 PHP 验证。 "php.validate.enable": true, // 启用/禁用 JavaScript 验证。 "javascript.valida ...
分类:
其他好文 时间:
2020-05-11 10:26:12
阅读次数:
222
Programmatically add an application to Windows Firewall 回答1 Not sure if this is the best way, but running netsh should work: netsh firewall add allowe ...
分类:
移动开发 时间:
2020-05-10 15:15:24
阅读次数:
86
"题目" You are given a weighed undirected connected graph, consisting of $n$ vertices and $m$ edges. You should answer $q$ queries, the $i$ th query is ...
分类:
其他好文 时间:
2020-05-09 19:04:20
阅读次数:
66
题目 You are given a weighed undirected connected graph, consisting of n vertices and m edges. You should answer q queries, the i th query is to find th ...
分类:
其他好文 时间:
2020-05-08 22:56:50
阅读次数:
83
git 2 es基本查询 3 es 组合查询 python 多个条件,and ,or ,not 对到es中就是布尔查询,must,should,must_not,filter 1 组合查询之must 查询form gu和age=30的数据 GET lqz/doc/_search { "query": ...
分类:
移动开发 时间:
2020-05-08 22:43:39
阅读次数:
84