Answers for "expandable recyclerview android kotlin"

2

expandable recyclerview android kotlin

//xml
<RelativeLayout
                android:id="@+id/expanded_view"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/item_list_expand"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                tools:ignore="MissingConstraints">
  //Kotlin in adapter
  binding.expandedView.visibility = if (this.expand) View.VISIBLE else View.GONE
Posted by: Guest on September-16-2021

Code answers related to "expandable recyclerview android kotlin"

Browse Popular Code Answers by Language