lmw
2023-04-03 16ea883d3c03fd8b910f9282aa1bc08378d40d54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.beloo.widget.chipslayoutmanager;
 
 
import androidx.annotation.IntRange;
 
import com.beloo.widget.chipslayoutmanager.layouter.breaker.IRowBreaker;
 
interface IChipsLayoutManagerContract extends IPositionsContract, IScrollingContract {
    /** use it to strictly disable scrolling.
     * If scrolling enabled it would be disabled in case all items fit on the screen */
    void setScrollingEnabledContract(boolean isEnabled);
    /**
     * change max count of row views in runtime
     */
    void setMaxViewsInRow(@IntRange(from = 1) Integer maxViewsInRow);
 
    /** retrieve max views in row settings*/
    Integer getMaxViewsInRow();
 
    /** retrieve instantiated row breaker*/
    IRowBreaker getRowBreaker();
 
    /** retrieve row strategy type*/
    @RowStrategy
    int getRowStrategyType();
 
    @Orientation
    /** orientation type of layout manager*/
    int layoutOrientation();
 
    /** whether or not scrolling disabled outside*/
    boolean isScrollingEnabledContract();
}