linkedin / Spyglass

A library for mentions on Android
Apache License 2.0
387 stars 128 forks source link

java.lang.ClassCastException : android.text.SpannableStringBuilder cannot be cast to com.linkedin.android.spyglass.mentions.MentionsEditable #93

Closed breakwhile closed 4 years ago

breakwhile commented 4 years ago

Hi guys, we have an exception in our app: java.lang.ClassCastException: android.text.SpannableStringBuilder cannot be cast to com.linkedin.android.spyglass.mentions.MentionsEditable com.linkedin.android.spyglass.ui.MentionsEditText.getMentionsText() (MentionsEditText.java : 1300) The above is abnormal information, Can you solve this problem?

nhibner commented 4 years ago

Resolved this in https://github.com/linkedin/Spyglass/commit/5a31d822c2bda3742f23867d523cef1bc11df5ae, available in version 2.1.0