Code example for Annotation

0
                        Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
        } 
 
        if(fortwitter)
        { 
        	out.setSpan(new Annotation("number", number), 0, len,
                    Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
        } 
        else 
        { 
            out.setSpan(new Annotation("number", number), 0, len,
                    Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
        } 
        return out;
    } 
 
    @Override 
    public final void bindView(View view, Context context, Cursor cursor) {
        TextView name = (TextView) view.findViewById(R.id.name);
        name.setText(cursor.getString(SMART_INDEX_NAME));
Stop searching for code, let great code find you!  Add Codota to your java IDE