最新发布第18页
排序
Constraint Layout
ConstraintLayout 是一种高级布局系统,适合复杂 UI。可以在 Compose 中使用,用来创建: 复杂对齐 多视图相互依赖的布局 百分比布局 链式布局(Chains) Barrier(根据子项动态位置对齐) Guid...
Retrofit
Retrofit 是 Square 出品的一个 类型安全的 HTTP 客户端,用于 Android / Java / Kotlin 中进行网络请求。 基于 OkHttp 支持 协程(suspend) 支持 Gson / Moshi 解析 基本使用 1. 添加依赖 dep...
Day 21 – 贪吃蛇(下)
类继承 从现有类继承行为和外观的过程成为类继承。这里的行为和外观分别为类的方法和属性。类继承可以对现有的类进行属性以及方法的扩展。 # Fish类 class Fish: def __init__(self): '''初始化...
What calls the first async function? 什么调用第一个异步函数?
You can only call async functions from other async functions, because they might need to suspend themselves and everything that is waiting for them. This leads to a bit of a chicke...
What is actor reentrancy and how can it cause problems? 什么是 actor 重入性,它如何导致问题?
Actor-isolated functions are reentrant, which means it's possible for one piece of work to begin before a previous piece of work completes. This opens the possibility of subtle bug...
Release checklist 版本清单
Sure, all your tests pass, but how can you make sure your app functions properly? Most large projects have a solution called a release checklist, and here I want to share mine wit...
传统计算机视觉
基本处理流程 传统计算机视觉流程,如下图所示 传统计算机视觉流程 擅长 采集 图像 和 视频 对图像、视频进行预处理 灰度化、背景分离、去噪... 图像的旋转、缩放、裁剪⋯ 从图像、视频中提取特...
布局 (Layout)
每个布局文件只包含一个根元素,该元素必须是一个View或者 ViewGroup对象。一旦定义了根元素,就可以添加其它布局对象或者小组件作为子元素,以逐步构建定义布局的视图层级结构。 布局文件加载 ...
Android 组件
基本介绍 Android 有四种主要的组件。 Android 的四大组件 Activity 具有用户界面的单个屏幕。 用户交互的入口。 Services 在后台运行,用户执行无用户界面的长时间操作/任务。 Broadcast Recei...
Jetpack Compose
Jetpack compose 是谷歌开发的一款现代工具包,用于构建原生 Android用户界面。它允许开发者使用声明式编程模型为 Android应用构建 UI 界面,当底层数据发生改变时,Compose 负责更新 UI 界面,...










