Android examples for Graphics:Spannable
get Spans from Spanned
//package com.java2s; import android.support.annotation.NonNull; import android.text.Spanned; public class Main { public static Object[] getSpans(@NonNull Spanned spanned, int start, int end) { Class<Object> anyType = Object.class; return spanned.getSpans(start, end, anyType); }//from www . java2 s .c o m }