最新发布第18页
Composable-Stewed Noodles 资源

Composable

在 Jetpack Compose 中,每一个 UI 元素都是通过一个带有 @Composable 注解的函数构建的,例如: @Composable fun Greeting(name: String) { Text(text = 'Hello $name') } 只要一个函数前加了 ...
Constraint Layout-Stewed Noodles 资源

Constraint Layout

ConstraintLayout 是一种高级布局系统,适合复杂 UI。可以在 Compose 中使用,用来创建: 复杂对齐 多视图相互依赖的布局 百分比布局 链式布局(Chains) Barrier(根据子项动态位置对齐) Guid...
Retrofit-Stewed Noodles 资源

Retrofit

Retrofit 是 Square 出品的一个 类型安全的 HTTP 客户端,用于 Android / Java / Kotlin 中进行网络请求。 基于 OkHttp 支持 协程(suspend) 支持 Gson / Moshi 解析 基本使用 1. 添加依赖 dep...
Docker 部署 LEAP-Stewed Noodles 资源
Day 21 - 贪吃蛇(下)-Stewed Noodles 资源

Day 21 – 贪吃蛇(下)

类继承 从现有类继承行为和外观的过程成为类继承。这里的行为和外观分别为类的方法和属性。类继承可以对现有的类进行属性以及方法的扩展。 # Fish类 class Fish: def __init__(self): '''初始化...
What calls the first async function? 什么调用第一个异步函数?-Stewed Noodles 资源

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 重入性,它如何导致问题?-Stewed Noodles 资源

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  版本清单-Stewed Noodles 资源

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...
XuX的头像-Stewed Noodles 资源烩之面大会员XuX1年前
290
传统计算机视觉-Stewed Noodles 资源

传统计算机视觉

基本处理流程 传统计算机视觉流程,如下图所示 传统计算机视觉流程 擅长 采集 图像 和 视频 对图像、视频进行预处理 灰度化、背景分离、去噪... 图像的旋转、缩放、裁剪⋯ 从图像、视频中提取特...
布局 (Layout)-Stewed Noodles 资源

布局 (Layout)

每个布局文件只包含一个根元素,该元素必须是一个View或者 ViewGroup对象。一旦定义了根元素,就可以添加其它布局对象或者小组件作为子元素,以逐步构建定义布局的视图层级结构。 布局文件加载 ...