How to handle 2 types of clicks on autolinktextview?
还没有人认领这个 Issue。
评估
调研方向
Issue 提到了 AutoLinkTextView 和一个 ListView,但没有指定源文件或测试。首先定位处理检测到的 hashtag 点击的代码以及 TextView 周围的行为,然后复现两个点击目标;完成标准是 hashtag 点击保留其行为,同时检测到的 token 之外的点击可以跳转到详情页。
由索引模型根据 Issue 内容生成。
描述
Hi, i am using this library to display hashtags in listview. working perfectly fine. But i want two types of clicks for AutoLinkTextview.
- when clicked on hashtag in AutoLinkTextview - Working perfect
- when clicked on AutoLinkTextview (not on Hashtag, side of hashtag) - Need to navigate to detail page. (it's not happening)
how to achieve this? Thank you.
- 主要语言
- Java
- 星标
- 1.1k
- 派生
- 137
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
armcha/AutoLinkTextView 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 25/100
armcha/AutoLinkTextView#34 ·
-
难度 4/5 3-5 天 新手友好度 35/100
armcha/AutoLinkTextView#33 ·
-
难度 5/5 一周以上 新手友好度 25/100
armcha/AutoLinkTextView#32 ·
-
难度 5/5 一周以上 新手友好度 25/100
armcha/AutoLinkTextView#29 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
armcha/AutoLinkTextView#28 · 2 条评论 ·
查看 armcha/AutoLinkTextView 的全部 Issue
相似的 Issue
-
False Negative: InnerTypeLastCheck does not report members declared after inner enums or annotations未关闭
难度 2/5 1-3 小时 新手友好度 78/100
checkstyle/checkstyle#22027 ·
维护者通常 1 天内回复
-
bug follow-up lane:auto
难度 2/5 1-3 小时 新手友好度 85/100
Sanne/incus-spawn#1497 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
[CI] NettyClientTest.testServerDisconnection may fail with DisconnectException可能已有人在做 @yangshangqing95 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100