Made the recyclerview Scrollable

Signed-off-by: Smarshal21 <lcb2021048@iiitl.ac.in>
This commit is contained in:
Smarshal21 2023-11-11 01:10:03 +05:30
parent 151613c045
commit 436dd8b7f8
2 changed files with 2 additions and 2 deletions

View file

@ -441,7 +441,7 @@ class ConversationInfoActivity :
binding.recyclerView.layoutManager = layoutManager binding.recyclerView.layoutManager = layoutManager
binding.recyclerView.setHasFixedSize(true) binding.recyclerView.setHasFixedSize(true)
binding.recyclerView.adapter = adapter binding.recyclerView.adapter = adapter
binding.recyclerView.isNestedScrollingEnabled = false binding.recyclerView.isNestedScrollingEnabled = true
adapter!!.addListener(this) adapter!!.addListener(this)
} }

View file

@ -329,7 +329,7 @@
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view" android:id="@+id/recycler_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="215dp"
tools:listitem="@layout/rv_item_conversation_info_participant" /> tools:listitem="@layout/rv_item_conversation_info_participant" />
</LinearLayout> </LinearLayout>