-
Notifications
You must be signed in to change notification settings - Fork 279
Open
Description
I try to use scrollTo function.
expandableLayout.scrollTo(0, myViewItem.top).
I get the item with the position I wanted, but all the items that appeared before are gone.
`
<net.cachapa.expandablelayout.ExpandableLayout
android:id="@+id/levelsEL"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/buildingOrProcessesTV"
style="@style/CardItemExpandableLayout" >
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/levelsRV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp" />
</net.cachapa.expandablelayout.ExpandableLayout>
`
Metadata
Metadata
Assignees
Labels
No labels