ExpandableLayout icon indicating copy to clipboard operation
ExpandableLayout copied to clipboard

Scrolling to item position is not working

Open EliYakubov77 opened this issue 3 years ago • 0 comments

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>

`

EliYakubov77 avatar Sep 11 '22 06:09 EliYakubov77