Handler基本使用 public class MainActivity extends AppCompatActivity { /** * 这里的list如果不使用handler,由于是网络资源,加载需要时 间, 在当我们进行加载ui是 * 很可能list为空,或者没有全部加载完成 */ pri ...
分类:
移动开发 时间:
2021-05-24 05:06:21
阅读次数:
0
Android资源类型 > 形状可绘制图像shape 语法 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape=[ ...
分类:
移动开发 时间:
2021-05-24 05:05:59
阅读次数:
0
shell脚本1 1.脚本基础 shell程序是linux/unix操作系统与用户交互的接口 1.1 内建命令 内建命令:shell程序本身可以接收并处理的指令 外部命令:从path路径中搜索,创建一个当前shell的子进程,子进程执行 type -a 指令 [root@iZjrkzhzhrquk8 ...
分类:
系统相关 时间:
2021-05-24 04:51:08
阅读次数:
0
static void Main(string[] args) { //Console.WriteLine("Hello World!"); //ShowInt(10); //ShowString("test"); //ShowDateTime(DateTime.Now); //ShowObject ...
分类:
其他好文 时间:
2021-05-24 04:48:03
阅读次数:
0
1. 必要环境 请确保已安装 node npm webpack 2.创建一个test文件夹 mkdir test && cd test && npm init 3. 创建 webpack.dev.config.js const path = require('path') const {CleanW ...
分类:
Web程序 时间:
2021-05-24 04:44:39
阅读次数:
0
1. download allure from git 2. config path (refer to: https://www.cnblogs.com/ycyzharry/p/10887922.html,https://www.jianshu.com/p/acb1f062a925) 3. val ...
分类:
其他好文 时间:
2021-05-24 04:32:33
阅读次数:
0
<Style TargetType="DataGridCell"> <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self} ,Path=Content.Text}"/> </Style> 加入全局 ...
这是因为Library项目中也定义了与主项目相同的属性,就会导致合并失败,比如都默认生成的android:label="@string/app_name" 或者 android:icon="@drawable/icon_logo" 红框中加入冲突的标签就可以解决问题 tools:replace="a ...
分类:
移动开发 时间:
2021-05-24 03:27:53
阅读次数:
0
镜像 docker pull *** //拉取镜像 docker images //查看本地镜像 docker run *** //运行镜像(加-d 后台运行) docker rmi *** //删除镜像(加-f可强制删除) docker build -t jpress:latest . //编译镜 ...
分类:
其他好文 时间:
2021-05-24 03:24:25
阅读次数:
0
// 全局路由导航拦截 router.beforeEach((to, from, next) ? { // ... if (to.path '/login') { // 如果是登录页面路径,就直接next() next() } else { // 其他页面路径 let token = session ...
分类:
其他好文 时间:
2021-05-24 02:26:50
阅读次数:
0