
Android 进阶
龙骨焚箱
加油吧
展开
-
kotlin 基础使用
具体参考:https://www.runoob.com/kotlin/kotlin-basic-syntax.html 定义常/变量:val / var var flag :Boolean = false Null检查机制: ?: 允许当前对象为空(接口为空时会用到 ,不做处理返回 null) !!: 在当前对象不为空时执行 (...翻译 2019-11-11 16:56:03 · 209 阅读 · 1 评论 -
简单实现时间线
效果图: 主要思路:重复的有规律的东西用list展示 主要代码: RecyclerView 子项布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orienta...原创 2019-08-29 15:02:33 · 278 阅读 · 0 评论 -
webview的基础使用
效果图: xml文件: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:lay...原创 2019-08-29 15:18:25 · 117 阅读 · 0 评论