<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> </body> </html>
测试文章
-
xcrun: error: SDK 'iphoneos' cannot be located错误的解决方案
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
-
You are not allowed to force push code to a protected branch on this project 解决 GitLab:
当我们有时候回滚了代码,想强制push到远程仓库的时候,--force。。。
-
向Rocket.Chat推送消息
如何从后台访问接口,向Rocket.Chat推送消息
-
Android Project 检查依赖库和插件版本
studio依赖 - 如何在Android Studio中显示依赖关系树?
-
kotlinx.android.synthetic.** 用法与总结
可以直接使用layout id 名称获取当前view对象,详细使用如下:
-
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Message
1.?:在非空的情况下执行语句,为空时直接返回null 1.!!:表示忽略语言的判空检查,即允许程序报NullPointerException(在kotlin中一般不建议这种写法,除非使用处一定不为空)
-
去掉html表格之table间的空隙,mail table 布局
我们现在估计用table布局最多的地方也就是发送邮件的服务,用来布局邮件布局了。 这个时候我们需要吧table的间隙变成0。
-
邮件模板自动生成网站stripo
这个网站,我们可以通过拖动到方式,来生成邮件模板。
-
android开发怎样让悬浮Activity只是隐藏而不销毁
android在mainfest中给Activity添加一个属性 android:theme="@android:style/Theme.Dialog",可以使Activity悬浮在其它窗口上面,在布局中可以设置activity的大小,当点击悬浮Activity边缘以外区域时,Activity会消失,观察消失时其生命周期会发现执行了finish()方法从而执行了onDestroy方法。有时我们只是需要将Activity隐藏,并不销毁,此时可以重写finish方法,如下:
-
uni-app直接用webiew打开本地js资源
如果再结合activity不销毁,隐藏的方法,像里面传递参数,来改变页面,不销毁webview,我发现这样比原生的都要快。这样又能用于app端,又能生成小程序,何乐而不为