abstract class BaseDividerItemDecoration : ItemDecoration
Base implementation of RecyclerView.ItemDecoration which provides some utilities methods. It also provides different implementations of getItemOffsets and onDraw. |
|
class BuildConfigclass BuildConfig |
|
class Cell
Identifies the item of a line. In a vertical grid, the cell can take the space of multiple columns. The number of columns this cell take is defined with spanSize. In an horizontal grid, the cell can take the space of multiple rows. The number of rows this cell take is defined with spanSize. |
|
data class Divider
Identifies a divider originating from a corner of a cell and going to an adjacent corner. The coordinates: |
|
class DividerBuilder
Builds a divider for a LinearLayoutManager or its subclasses (e.g. GridLayoutManager). The following properties of a divider can be configured: |
|
data class Grid
Identifies the grid layout of a LinearLayoutManager/GridLayoutManager. The grid pre-calculates all the rows and columns placement of a layout manager. A vertical grid is a grid shown in a layout manager with vertical orientation. An horizontal grid is a grid shown in a layout manager with horizontal orientation. |
|
data class LayoutDirection
Identifies the direction of a RecyclerView's layout. |
|
class Line
Identifies the row in a vertical grid or the column in an horizontal grid. A single cell can be larger than a single column for a vertical grid or than a single row for an horizontal grid (Cell.spanSize). |
|
enum class Orientation
Identifies the orientation of a component (e.g. a grid, a divider, etc...). |
|
class
Used to draw a divider between RecyclerView's elements. |
|
enum class Side
Identifies the sides of a rectangle. |
|
class StaggeredDividerBuilder
Builds a divider for a StaggeredGridLayoutManager or its subclasses. The following properties of a divider can be configured: |
class IllegalLayoutManagerException : RuntimeException
A RuntimeException thrown when the RecyclerView.ItemDecoration doesn't support the given RecyclerView.LayoutManager. |
typealias Sides = EnumSet<Side>
Identifies a set of Side, internally implemented with an EnumSet. |