Android examples for Graphics:Spannable
is Composing Span
//package com.java2s; import android.support.annotation.NonNull; import android.text.Spanned; public class Main { public static boolean isComposingSpan(@NonNull Spanned spanned, Object span) {/*from w ww . j ava2s. c o m*/ return isFlaggedSpan(spanned, span, Spanned.SPAN_COMPOSING); } public static boolean isFlaggedSpan(@NonNull Spanned spanned, Object span, int flags) { return (spanned.getSpanFlags(span) & flags) == flags; } }