Code example for StrikethroughSpan

0
    public static StyleSpan italic() {
        return new StyleSpan(Typeface.ITALIC);
    } 
 
    public static StrikethroughSpan strike() {
        return new StrikethroughSpan();
    } 
 
    private SpannableStringBuilder sb;
 
    public SpanBuilder() { 
        sb = new SpannableStringBuilder();
    } 
 
    public void append(String text, Object... spanList) {
        if (text == null || text.length() == 0) {
            return; 
        } 
 
        int start = sb.length();
Connect your IDE to all the code out there  Get Codota for Java