-
public final class EdgeSpacing extends RecyclerView.ItemDecoration
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanallowLeftprivate BooleanallowTopprivate BooleanallowRightprivate BooleanallowBottom
-
Constructor Summary
Constructors Constructor Description EdgeSpacing(Integer left, Integer top, Integer right, Integer bottom)
-
Method Summary
Modifier and Type Method Description final BooleangetAllowLeft()final UnitsetAllowLeft(Boolean allowLeft)final BooleangetAllowTop()final UnitsetAllowTop(Boolean allowTop)final BooleangetAllowRight()final UnitsetAllowRight(Boolean allowRight)final BooleangetAllowBottom()final UnitsetAllowBottom(Boolean allowBottom)UnitgetItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)-
-
Method Detail
-
getAllowLeft
final Boolean getAllowLeft()
-
setAllowLeft
final Unit setAllowLeft(Boolean allowLeft)
-
getAllowTop
final Boolean getAllowTop()
-
setAllowTop
final Unit setAllowTop(Boolean allowTop)
-
getAllowRight
final Boolean getAllowRight()
-
setAllowRight
final Unit setAllowRight(Boolean allowRight)
-
getAllowBottom
final Boolean getAllowBottom()
-
setAllowBottom
final Unit setAllowBottom(Boolean allowBottom)
-
getItemOffsets
Unit getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state)
-
-
-
-