Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@人功能该怎么添加 #7

Open
moonstr opened this issue May 15, 2020 · 1 comment
Open

@人功能该怎么添加 #7

moonstr opened this issue May 15, 2020 · 1 comment

Comments

@moonstr
Copy link

moonstr commented May 15, 2020

想添加其他一些自定义的功能

@yuruiyin
Copy link
Owner

两种方法:

  1. 使用行内ImageSpan的方式
  2. 非ImageSpan的方式,需要处理光标,当光标处于"@xxx"之间的时候,需要立马将光标移动到"@xxx"的两侧,而且还需要单独处理软键盘删除,即当光标位于"@xxx"右侧的时候,点击删除按钮,需要将"@xxx"全部删除。

我是有计划在未来版本添加这个功能,欢迎Watch~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants