手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
人工智能
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
网络运维
技术频道
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
kotlin-sharedflow
kotlin-sharedflow专题提供kotlin-sharedflow的最新资讯内容,帮你更好的了解kotlin-sharedflow。
LiveData 转换为 StateFlow/SharedFlow
StateFlow / SharedFlow 中这种实时数据转换的等效代码是什么? <pre><code>val myLiveData: LiveData<MyLiveData> =
作者:佚名 时间:2022-05-26
将 MutableSharedFlow 与标准 Flow 结合使用
我不确定如何解决这个问题。 我有一个存储 <code>combine</code> 流的变量。我必须结合一个 MutableSharedFlow
作者:佚名 时间:2022-05-16
Android - MutableSharedFlow 无法收集多订阅者的新值
我想创建一个共享视图模型,用于 MainActivity 与 Fragment 之间的通信。 我决定使用共享流来管理事件。
作者:佚名 时间:2022-05-14
Kotlin SharedFlow 合并操作在特定情况下具有 zip 行为
我正在组合两个 <code>SharedFlows</code>,然后执行长时间的工作操作。 一开始,我知道状态,所以我
作者:佚名 时间:2022-05-12
从 Java 收集的 SharedFlow 不起作用
我有一小组活动需要在后台生成的某些事件上重新启动。 由于这将是一个短期的解决方法,我认为侵入
作者:佚名 时间:2022-04-30
我什么时候应该在 Fragment 生命周期中收集 SharedFlow 事件
我认为可以在 onViewCreated 上收集 SharedFlow 数据。但是当我替换片段 n 次然后向 SharedFlow 触发某个事件时
作者:佚名 时间:2022-04-25
Android 项目中的 SharedFlow 未按预期工作
我试图使用 sharedFlow 将事件从 UI 传递到 viewModel 这是我的视图模型类 <pre><code>class MainActivityViewModel ()
作者:佚名 时间:2022-04-23
StateFlow 最后一个值在 ui
最近我一直在使用 StateFlow、SharedFlow 和 Channels API,但在尝试将我的代码从 LiveData 迁移到表示层中的 State
作者:佚名 时间:2022-04-21
LiveData 是热的还是冷的?
我们知道 StateFlow 和 SharedFlow 很热门。 <块引用> StateFlow 是一个热流——只要流处于 收集或从垃圾
作者:佚名 时间:2022-12-30
如何使用 kotlin 协程创建轮询机制?
我正在尝试使用 <code>sharedFlow</code> 使用 kotlin 协程创建一种轮询机制,并希望在没有订阅者时停止并在
作者:佚名 时间:2022-11-30
小编推荐
苹果市值2025年有望达4万亿美元
• Redmi Note 14系列卖爆 女性用户增多 1
• 腾讯:不再公开显示职级!不希望被官僚
• 三只羊“财色录音”是假的!但背后技术
• 视频美颜SDK与直播美颜工具API的架构设
• 淘宝已接入微信支付!官方确认:京东双
• 品控差!iPhone16首批现划痕、掉漆、摄
• DXO公布iPhone 16 Pro Max影像成绩:最
热门标签
更多
python
JavaScript
java
HTML
PHP
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot