01 2021 档案

Kotlin语言学习
摘要:https://www.bilibili.com/video/BV1wf4y1s7TG?p=58 的学习网址 1. lateinit : 这个是肯定会被初始化 ::name.isLateinit : 当前name是否已经lateinit加载 2.by lazy : 每次只初始化一次,用的时候才去加载 阅读全文

posted @ 2021-01-28 14:42 zhang11111wei 阅读(89) 评论(0) 推荐(0) 编辑

这两个面试经常被问到两个常见算法
摘要:单向链表的反转 public class LinkedNode { Integer id; LinkedNode next; public LinkedNode(Integer id) { this.id = id; }}//创建链表 LinkedNode node1 = new LinkedNod 阅读全文

posted @ 2021-01-27 11:33 zhang11111wei 阅读(59) 评论(0) 推荐(0) 编辑

notification的通知代码
摘要:public Notification createNotification() { String channelId = createNotificationChannel("my_channel_ID", "my_channel_NAME", NotificationManager.IMPORT 阅读全文

posted @ 2021-01-27 11:24 zhang11111wei 阅读(177) 评论(0) 推荐(0) 编辑

Bitmap数据处理
摘要:把直角图片改为圆角,通过改roundPx这个参数 fun toRoundBitmap(bitmap: Bitmap): Bitmap? { var width = bitmap.width var height = bitmap.height val roundPx: Float val left: 阅读全文

posted @ 2021-01-16 15:07 zhang11111wei 阅读(104) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示