如何在NestedScrollView內(nèi)部使用回收視圖?如何使用RecyclerView內(nèi)NestedScrollView? RecyclerView設(shè)置適配器后,內(nèi)容不可見。更新布局代碼更新。<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"><LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/keyline_1">
</RelativeLayout>
<View
android:id="@+id/separator"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#e5e5e5" />
<android.support.v7.widget.RecyclerView
android:id="@+id/conversation"
android:layout_width="match_parent"
android:layout_height="wrap_content" /></LinearLayout></android.support.v4.widget.NestedScrollView>
如何在NestedScrollView內(nèi)部使用回收視圖?
慕田峪4524236
2019-07-01 16:32:38