Native Android Spanned.getSpans(......,SyleSpan.class)
function return type StyleSpan[]
Xamarin ISpanned.GetSpans(......)
function returns type Java.lang.Object[]
though it returns <T>
(T
=StyleSpan
in my case) in native android. Therefore there is a loss of information since the Mono interface doesn't expose what it would have been exposed if I had used the native SDK.
Since propery Style
(getStyle()
in native android) is only available in StyleSpan
there is no way to read that a given StyleSpan read through GetSpans is bold or italic.
Any ideas how I determine bold or italic?
Is this a limitation in the mono interface?