lmw
2025-06-24 27a5170d3aa384c5a3771c2923ef31d0c2c8ad90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.beloo.widget.chipslayoutmanager.layouter.breaker;
 
import com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter;
 
/** this is basis row breaker for {@link com.beloo.widget.chipslayoutmanager.layouter.RTLDownLayouter} */
class RTLForwardRowBreaker implements ILayoutRowBreaker {
 
    @Override
    public boolean isRowBroke(AbstractLayouter al) {
        return al.getViewRight() < al.getCanvasRightBorder()
                && al.getViewRight() - al.getCurrentViewWidth() < al.getCanvasLeftBorder();
 
    }
}