Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

CloudEditText

> 编程语言
Open source

EditText内容分不同块显示,支持校验,删除块,添加块,得到块代表的字符串集合

362 stars0 likes0 views
WebsiteGitHub

About

EditText内容分不同块显示,支持校验,删除块,添加块,得到块代表的字符串集合

CloudEditText

(EditText内容分不同块显示,支持校验,删除块,添加块,得到块代表的字符串集合)

预览效果:

代码中实现:

1.继承CloudEditText覆写checkInputSpan实现校验(不需校验可以省略本步)

…

2.在Xml中引入

xml
	

3.在Activity或Fragment中添加一个块或获得所有块的字符串集合(默认输入法中回车将字符串转化为块)

java
	et_user_contact.addSpan(contacts.get(0).name,contacts.get(0).contact);//添加块	
	et_user_contact.getAllReturnStringList();//获得所有块的字符串集合

by QQ:707175425

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言