toggle menu
stream-chat-android
6.8.0
androidJvm
switch theme
search in API
stream-chat-android-ui-components
/
io.getstream.chat.android.ui.widgets
/
GridSpacingItemDecoration
Grid
Spacing
Item
Decoration
open
class
GridSpacingItemDecoration
:
RecyclerView.ItemDecoration
Members
Constructors
Grid
Spacing
Item
Decoration
Link copied to clipboard
constructor
(
spanCount
:
Int
,
spacing
:
Int
,
includeEdge
:
Boolean
)
Functions
get
Item
Offsets
Link copied to clipboard
open
fun
getItemOffsets
(
outRect
:
Rect
,
view
:
View
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)
set
Spacing
Link copied to clipboard
open
fun
setSpacing
(
spacing
:
Int
)
set
Span
Count
Link copied to clipboard
open
fun
setSpanCount
(
spanCount
:
Int
)
Inherited functions
get
Item
Offsets
Link copied to clipboard
open
fun
getItemOffsets
(
outRect
:
Rect
,
itemPosition
:
Int
,
parent
:
RecyclerView
)
on
Draw
Link copied to clipboard
open
fun
onDraw
(
c
:
Canvas
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)
on
Draw
Over
Link copied to clipboard
open
fun
onDrawOver
(
c
:
Canvas
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)