B
R
V
androidx.
recyclerview.
widget
Recycler
View
Utils
com.
drake.
brv
Binding
Adapter
Default
Decoration
Page
Refresh
Layout
com.
drake.
brv.
animation
Alpha
Item
Animation
Item
Animation
Scale
Item
Animation
Slide
Bottom
Item
Animation
Slide
Left
Item
Animation
Slide
Right
Item
Animation
com.
drake.
brv.
annotaion
Animation
Type
A
L
P
H
A
S
C
A
L
E
S
L
I
D
E_
B
O
T
T
O
M
S
L
I
D
E_
L
E
F
T
S
L
I
D
E_
R
I
G
H
T
Divider
Orientation
G
R
I
D
H
O
R
I
Z
O
N
T
A
L
V
E
R
T
I
C
A
L
Item
Orientation
com.
drake.
brv.
binding
Observable
Iml
com.
drake.
brv.
item
Item
Attached
Item
Bind
Item
Depth
Item
Drag
Item
Expand
Item
Hover
Item
Position
Item
Stable
Id
Item
Swipe
com.
drake.
brv.
layoutmanager
Hover
Grid
Layout
Manager
Hover
Linear
Layout
Manager
Hover
Staggered
Grid
Layout
Manager
com.
drake.
brv.
listener
Default
Item
Touch
Callback
Item
Differ
Callback
On
Bind
View
Holder
Listener
On
Hover
Attach
Listener
On
Multi
State
Listener
com.
drake.
brv.
reflect
copy
Type()
Type
List
com.
drake.
brv.
utils
add
Models()
binding
Adapter
B
R
V
divider
divider
Space()
grid()
linear()
models
mutable
page
Create()
set
Differ
Models()
setup
staggered()
BRV
/
com.drake.brv
/
BindingAdapter
/
expand
expand
fun
expand
(
@
IntRange
(
from =
0.toLong()
)
position:
Int
, scrollTop:
Boolean
= false,
@
IntRange
(
from =
-1.toLong()
)
depth:
Int
= 0):
Int
Content copied to clipboard
展开
Return
展开后增加的条目数量
Parameters
position
指定position的条目折叠
scrollTop
展开同时当前条目滑动到顶部
depth
递归展开子项的深度, 如等于-1则代表展开所有子项, 0表示仅展开当前