Implement XML decoding for DYNAMIC_ATTRIBUTE resource type

未关闭
#3 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, java

调研方向

从 src/main/java/software/coley/android/xml/XmlDecoder.java 第 268 行开始,追踪 DYNAMIC_ATTRIBUTE 资源类型当前如何回退到 @。研究 Android 资源格式和动态属性行为,以确定预期的表示方式。完成标准是这些资源类型能够正确解码,而不是使用默认回退,并且预期行为已记录,或在适用时通过验证覆盖。

由索引模型根据 Issue 内容生成。

描述

enhancement help wanted

There is no reference implementation and I've not seen a dynamic attribute being used in a real-world app, so I'm not sure what its supposed to look like. Thus, the decoding for these resource types is not yet implemented and is stubbed out with the default @res/<id>

Relevant code: https://github.com/Col-E/binary-resources/blob/master/src/main/java/software/coley/android/xml/XmlDecoder.java#L268

主要语言
Java
星标
10
派生
1
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Col-E/binary-resources 的其他 Issue

查看 Col-E/binary-resources 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。