Is that possible to add a custom view into a spannable text?
In android.text.style
package I can see many types of spannable objects, but I wonder if I can add a custom view.
Sort of spanable.setSpan(CustomView, .. , .. ,..)
Note that: CustomView maybe any sort of view i.e: WebView
So looks like it will be challenging to use Spannable way to handle such case.
Therefore I created a new library to handle tags so I can use them wherever I want.
And here is an example
Now I can handle elements in whatever I want i.e:
RecycleView