public T setIndicator(final Indicator indicator, final boolean addSpaceSide) {
        if(ViewCompat.isAttachedToWindow(this)) {
            setupIndicator(indicator, addSpaceSide);
        } else {
            removeOnLayoutChangeListener(indicatorLayoutListener);
            indicatorLayoutListener = (a,b,c,d,e,f,g,h,i) -> {
                setupIndicator(indicator, addSpaceSide);
                MaterialScrollBar.this.removeOnLayoutChangeListener(indicatorLayoutListener);
            };
            addOnLayoutChangeListener(indicatorLayoutListener);
        }
        return (T)this;
    }
Adds an indicator which accompanies this scroll bar.

@param addSpaceSide Should space be put between the indicator and the bar or should they touch?
lib/src/main/java/com/turingtechnologies/materialscrollbar/MaterialScrollBar.java