verticalstepperview/src/main/java/com/liefery/android/verticalstepperview/ConnectorLineDrawer.java
/**
     * adjust the Line Drawer Connector on width change.
     *
     * @param width width of the stepper item
     * @param height height of the stepper item
     */
adjust the Line Drawer Connector on width change.
@param width width of the stepper item
@param height height of the stepper item
adjust the Line Drawer Connector on width change . @param width width of the stepper item @param height height of the stepper item
void adjust(int width, int height) {
        if (oldHeight != height || oldWidth != width) {
            shouldRedraw = true;
        }
        oldHeight = height;
        oldWidth = width;
        line.left = util.dpToPx(19.5f);
        line.right = util.dpToPx(21.5f);
        line.top = util.dpToPx(40);
        line.bottom = height;
    }
void adjust ( int width , int height ) { if ( oldHeight != height || oldWidth != width ) { shouldRedraw = true ; } oldHeight = height ; oldWidth = width ; line . left = util . dpToPx ( 19.5f ) ; line . right = util . dpToPx ( 21.5f ) ; line . top = util . dpToPx ( 40 ) ; line . bottom = height ; }
adjust the Line Drawer Connector on width change.
adjust the Line Drawer Connector on width change .