apradanas / simple-linkable-text

Simple way to create linked text, such as @username or #hashtag, in Android TextView and EditText
Other
74 stars 13 forks source link

Null Pointer Exception onTouchEvent #3

Open CanGokdere opened 8 years ago

CanGokdere commented 8 years ago

My problem is as follows, I am using linkableedittext in a fragment. When I first see the activity everything is fine, edittext request focus and I start typing. When I close the keyboard and the re-touch on edit text to get focus, it gives me crash report.
java.lang.NullPointerException at android.widget.Editor.onTouchUpEvent(Editor.java:1927) at android.widget.TextView.onTouchEvent(TextView.java:8865) at android.view.View.dispatchTouchEvent(View.java:7817)

I saw something like this: http://stackoverflow.com/questions/22563891/crash-on-samsung-devices-for-edittext-containing-links

So, I also think problem is with LinkMovementMethod. Any suggestions for me to fix it or does library requires an update for the solution ?

Edit: Testing on Samsung Galaxy S3

siyanew commented 7 years ago

Yes, I have This Problem too

snowdream commented 7 years ago

Yes, I have This Problem too

Erica1217 commented 6 years ago

Yes, I have This Problem too