Newstrong's 博客

Kratos
专注于用户阅读体验的响应式博客主题
Android

Kotlin 操作符:run、with、let、also、apply 的差异与选择

Kotlin 操作符:run、with、let、also、apply 的差异与选择 原文:Kotlin 操作符:run、with、let、also、apply 的差异与选择 通过参考原文,通过mermaid画出流程图,没有任何新东西。/笑脸 graph TD A(选择标准函数) --> B{"return this" } subgraph subB ["需要返回自身(this)"] B %%noteA["需要返回自身(this)"] end B --…

2020年5月14日 51点热度 0人点赞 newstrong 阅读全文
未分类

Github Page中通过Mermaid画流程图

在GitHub Pages 中使用Mermaid 画图 传统画流程图通常使用 Visio Studio,使用比较复杂,毕竟要安装;本文简单介绍在GitHub Pages 中通过 mermaid 库,来绘制流程图、甘特图的前置步骤。 原理 mermaid解析特定格式,转化为svg,显示到界面上 步骤 简单添加以下内容到你的markdown中,即可生产出如下图的内容: <script src='https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js'…

2020年5月9日 1点热度 0人点赞 newstrong 阅读全文
Android

Unity修改plist

Unity修改plist Unity导出iOS工程通过PostProcessBuildAttribute需改plist文件,增加UrlScheme支持和Facebook appid #if (UNITY_5 && UNITY_IOS) || UNITY_IPHONE using System.IO; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.iOS.Xcode; using UnityEngine; publi…

2020年5月6日 1点热度 0人点赞 newstrong 阅读全文
Android

Android开发备忘

Android开发备忘 library依赖外部库报错:Multiple dex files define exception 不同模块特别是library中依赖了同名的库,分别是通过gradle依赖和jar包,android stuido 不能区分出他们是一个库,虽然包名相同.在打包阶段会同时编译进APK中,造成dex multi exception.解决方式很简单,尽量不出现分别用两种方式依赖库的形式,并且首选使用gradle compile project方式依赖. 同一个依赖库使用不同版本,报错 例如supp…

2017年4月6日 1点热度 0人点赞 newstrong 阅读全文
1234

近期文章

  • git类图形化log
  • ZSH Git Plugin 别名表格
  • Prefer Function Reference over Lambda in Kotlin? Wrong!
  • ZonedDateTime toString compatability with ISO 8601
  • Jetpack 自定义 DropDownMenu
标签聚合
开发 kotlin gpt 技术 googleplay

COPYRIGHT © 2026 Newstrong's 博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

蜀ICP备2024057367