Code example for UnderlineSpan

0
        initNative(); 
    } 
     
    @Override 
    public Object getSpan(String text, SpanSpec spec, Object arg) {
        return new UnderlineSpan();
    } 
} 
Experience pair programming with AI  Get Codota for Java