前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >No resource identifier found for attribute,RxJava之zip操作符

No resource identifier found for attribute,RxJava之zip操作符

作者头像
zhangjiqun
发布2024-12-16 12:49:15
发布2024-12-16 12:49:15
6400
代码可运行
举报
文章被收录于专栏:计算机工具计算机工具
运行总次数:0
代码可运行

No resource identifier found for attribute 'container_interpolator' in package 'com.imobi

这个错误的原因是一些由于 你的layout文件中有自定义的控件,由于你的有些自定义属性用到 一些资源文件找不到的原因,这时候你就需要仔细的查看你得文件有什么没写的 资源文件。

我的原因是由于下拉刷新控件用到动画引起的:

代码语言:javascript
代码运行次数:0
复制
android:id="@+id/es_blackname"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="12dp"
android:layout_marginRight="12dp"
expandable_selector:animation_duration="200"
expandable_selector:collapse_interpolator="@android:anim/decelerate_interpolator"
expandable_selector:container_interpolator="@android:anim/accelerate_decelerate_interpolator"
expandable_selector:expand_interpolator="@android:anim/accelerate_interpolator"

主要是这些

代码语言:javascript
代码运行次数:0
复制
expandable_selector:animation_duration="200"
expandable_selector:collapse_interpolator="@android:anim/decelerate_interpolator"
expandable_selector:container_interpolator="@android:anim/accelerate_decelerate_interpolator"
expandable_selector:expand_interpolator="@android:anim/accelerate_interpolator"
RxJava之zip操作符

通过分解动作我们可以看出: 组合的过程是分别从 两根水管里各取出一个事件 来进行组合, 并且一个事件只能被使用一次, 组合的顺序是严格按照事件发送的顺利 来进行的, 也就是说不会出现圆形1 事件和三角形B 事件进行合并, 也不可能出现圆形2 和三角形A 进行合并的情况. 最终下游收到的事件数量 是和上游中发送事件最少的那一根水管的事件数量 相同. 这个也很好理解, 因为是从每一根水管 里取一个事件来进行合并, 最少的 那个肯定就最先取完 , 这个时候其他的水管尽管还有事件 , 但是已经没有足够的事件来组合了, 因此下游就不会收到剩余的事件了.

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2024-12-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • RxJava之zip操作符
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档