find the links that contain patterns and convert them to individual links . concode_field_sep int TYPE_TEXT_VIEW concode_elem_sep SpannableString spannable concode_elem_sep int TYPE_TEXT concode_elem_sep String TAG concode_elem_sep Context context concode_elem_sep int start concode_elem_sep int end concode_elem_sep CharSequence text concode_elem_sep int type concode_elem_sep TextView textView concode_elem_sep List<Link> links concode_field_sep void addLinksFromPattern concode_elem_sep void applyLink concode_elem_sep LinkBuilder setTextView concode_elem_sep CharSequence build concode_elem_sep void addLinkToSpan concode_elem_sep void addLinkToSpan concode_elem_sep void addLinkMovementMethod concode_elem_sep LinkBuilder setContext concode_elem_sep LinkBuilder from concode_elem_sep LinkBuilder addLink concode_elem_sep void applyAppendedAndPrependedText concode_elem_sep LinkBuilder addLinks concode_elem_sep LinkBuilder on concode_elem_sep LinkBuilder setText
void function ( ) { int loc0 = links . loc0 ( ) ; int loc1 = 0 ; while ( loc1 < loc0 ) { if ( links . get ( loc1 ) . getPattern ( ) != null ) { addLinksFromPattern ( links . get ( loc1 ) ) ; links . remove ( loc1 ) ; loc0 -- ; } else { loc1 ++ ; } } }