0

In compose ui, lazy column or row, there is no default option to show scrollbar like in xml(android:scrollbars="vertical").

<android.support.v7.widget.RecyclerView
    android:id="@+id/recycler_view"
    android:scrollbars="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent" /> 
  • Because the compose team have not yet implemented that feature. See the backlog on compose development (https://developer.android.com/jetpack/androidx/compose-roadmap). Or maybe you need to implement that feature, someone has implemented it. Not the smoothest scrollbar but you can tweak it (https://stackoverflow.com/a/68056586/12030603) – axelbrians Jun 08 '23 at 08:48
  • Looks fine, Thanks @axelbrians – Karthik Jun 09 '23 at 10:46

0 Answers0