序曲:学习编程最好的方式就是敲代码,没有比这个更好的方法,哪怕你看了上百G的视频,都不如你自己敲几行代码更为有效。还有要记得敲完代码然后写一篇随笔来记录一下你所学所想。 大家都知道,.netcore是微软一个具有历史意义的产品,因为终于开始跨平台了, 敲了那么多年的代码,每次都被吐槽不能跨平台,现在 ...
分类:
移动开发 时间:
2019-10-04 20:48:54
阅读次数:
125
在开始之前,建议阅读 应用架构指南。 Before getting started, we recommend reading the Architecture Components Guide to App Architecture. The guide has some useful princ... ...
分类:
移动开发 时间:
2019-10-04 18:46:06
阅读次数:
127
一、tableview的分页加载的代码对比 没有优化之前的代码如下 优化之后的代码 二、collectonview的分页加载的代码对比 没有优化之前的代码如下: 优化之后的代码 总结:相比较之下,优化之后看似代码量增加了少许,但是从理论上分页加载的性能更好了。之前分页加载使用的全局刷新,优化之后改用 ...
分类:
移动开发 时间:
2019-10-04 18:34:38
阅读次数:
308
1 什么是Fiddler? (伪服务器) Fiddler是位于客户端和服务器端的HTTP代理,也是目前最常用的http抓包工具之一 。 它能够记录客户端和服务器之间的所有 HTTP请求,可以针对特定的HTTP请求,分析请求数据、设置断点、调试web应用、修改请求的数据,甚至可以修改服务器返回的数据, ...
分类:
移动开发 时间:
2019-10-04 16:58:49
阅读次数:
95
意思是spring.jar这个包在发布的时候没有被放入war。如果是maven管理的项目,可以看看这个项目的部署参数里有没有加入所有maven的包。 右键项目->Properties->Deployment Assembly,看看有没有Maven Dependencies 没有的话,点Add,选Ja ...
分类:
移动开发 时间:
2019-10-04 15:09:58
阅读次数:
87
亮屏 adb shell inputkeyevent 26 keyevent 26表示点击power Android adb 点亮和关闭屏幕的命令 设置背光: echo 255 >/ sys/class/leds/lcd-backlight/brightness ///==>最亮 echo 0 >/ ...
分类:
移动开发 时间:
2019-10-04 13:39:05
阅读次数:
317
package com.example.worksix; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view. ...
分类:
移动开发 时间:
2019-10-04 13:25:13
阅读次数:
95
*在spring boot中有一个基础的配置文件application.yam(application.property)用于对spring boot的默认设置做一些改动。 *在spring boot中有集成很多其他的包或者框架,如redis的操作的包,日志的等等。 *在spring boot程序启 ...
分类:
移动开发 时间:
2019-10-04 13:19:35
阅读次数:
89
angular 中使用 axios /** * 在angular 中引入第三方 http 模块的使用, 以 axios 为例 * 有两种使用方法:(本文使用Promise简单封装) * 一. 直接在要使用请求的组件中 import axios from 'axios', 调用: axios.get/ ...
分类:
移动开发 时间:
2019-10-04 13:16:50
阅读次数:
239
本文链接:https://blog.csdn.net/learn8more/article/details/837436551. FontAwesome (墨刀内置图标库):http://fortawesome.github.io/Font-Awesome/icons/ 2. Ionicons(iO ...
分类:
移动开发 时间:
2019-10-04 13:03:12
阅读次数:
185
谷歌官文文档地址:https://developer.android.google.cn/topic/libraries/architecture 安卓构架组建是库的集合:帮助你设计健壮的、易测试的、可维护的应用。使用类作为入口管理UI组建的生命周期和处理数据持久化。 Android archite... ...
分类:
移动开发 时间:
2019-10-04 12:59:30
阅读次数:
117
题目:你有一部手机,最多显示k个人发的信息,现在收到n条信息,有可能人是相同的人发的。最新的要顶置,当屏幕上显示的人数已经有k个时, 如果此时又新的人发信息,则把显示屏末端的会消失,最新的顶置。 输入:第一行:n,k n表示短信的条数,k表示屏幕最多显示的人的个数 第二行:有n个数字,分别表示发短信 ...
分类:
移动开发 时间:
2019-10-04 09:41:09
阅读次数:
112
1.移动端与pc端的区别 移动端没有鼠标,自然也没有鼠标事件。所以onmousedown之类的事件监听在移动端时无效的。 移动端为了响应双击事件,onclick事件有300ms的延迟,因为要看看接下来的300ms有没有再次点击,有的话视为双击,没有的话视为单击。 延迟300ms只是理论上,实际上每台 ...
分类:
移动开发 时间:
2019-10-04 09:19:00
阅读次数:
403
https://docs.aws.amazon.com/zh_cn/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html?shortFooter=true ...
分类:
移动开发 时间:
2019-10-04 00:21:45
阅读次数:
115
近期在学springboot,学的时候遇到这个错,网上查了好多,改了不行,后来发现自己的配置类没有加@SpringBootApplication注解 Exception encountered during context initialization - cancelling refresh at ...
分类:
移动开发 时间:
2019-10-03 23:55:47
阅读次数:
213
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance... ...
分类:
移动开发 时间:
2019-10-03 23:46:18
阅读次数:
119
文章地址 https://www.cnblogs.com/sandraryan/ 功能: 点击上下左右按钮,移动元素 ...
分类:
移动开发 时间:
2019-10-03 22:19:09
阅读次数:
171