Comments (4)
how to reappear in demo
from gsyricktext.
when I click blank in the edittext which has words ,it will crash.if I have to set click events?
from gsyricktext.
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
at com.shuyu.textutillib.RichEditText.resolveEditTextClick(RichEditText.java:256)
at com.shuyu.textutillib.RichEditText.access$500(RichEditText.java:38)
at com.shuyu.textutillib.RichEditText$2.onClick(RichEditText.java:349)
at android.view.View.performClick(View.java:6304)
at android.view.View$PerformClick.run(View.java:24803)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6600)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:821)
from gsyricktext.
As shown in the log,you can't make nameList null,like demo:
.setListUser(nameList)
.setListTopic(topicModels)
if you don't need them , set new ArrayList<>()
for it
from gsyricktext.
Related Issues (20)
- 【功能建议】能添加一个Ellipsize的功能吗? HOT 1
- 【bug?】跑Demo发现Ellipsize显示有点问题? HOT 5
- @失效 HOT 3
- RichTextView不能匹配多个相同话题 HOT 4
- 给@的UserMode的name末尾添加一位空格,删除没有了再次确认的效果 HOT 2
- 表情高度问题 HOT 1
- 好像没有自动识别话题以及多个话题的显示
- 使用RichTextView作为子控件时,上级控件的点击事件会不起作用
- 可以支持gif吗 HOT 1
- 有考虑过移植到flutter吗? HOT 1
- 如果字数限制为30,你输入25个字的时候,突然加入一个长度为6的话题,就崩溃了
- 编辑框里输入@ 问题 HOT 3
- 网址匹配如何改成微信那种匹配规则? HOT 1
- null
- hhg
- 话题删除后 列表里的数据还在
- 在加载drawable的地方,用glide去加载表情图片url,发现表情很小,不知道为啥?
- 超出指定行数显示省略号时,emoji表情乱码
- 报错 kotlin.TypeCastException: null cannot be cast to non-null type android.text.StaticLayout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsyricktext.