Answers for "recyclerview adapter in android example"

1

recyclerview dependency

implementation 'com.android.support:recyclerview-v7:23.1.1'
Posted by: Guest on May-24-2020
0

add textview to recyclerview

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <ScrollView
        android:id="@+id/childScroll"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <TextView
            android:id="@+id/description"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />
    </ScrollView>

    <TextView
        android:id="@+id/solutions"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</LinearLayout>
Posted by: Guest on November-07-2020

Code answers related to "recyclerview adapter in android example"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language