Android CARDSLIB: How to propagate card click to Spannable String?

房东的猫 提交于 2019-12-11 07:11:17

问题


I'm trying to solve a problem I'm having with Cardslib and spannable text. Cards display correctly and each card shows the text I made spannable. Each spanned text has an overriden onClick listener that replaces current fragment.

The problem seems to be that Cardslib is catching the onClick event and it isn't propagated to the handlers inside the spannable text. Does that make sense?

Thanks in advance!

来源:https://stackoverflow.com/questions/27007531/android-cardslib-how-to-propagate-card-click-to-spannable-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!