First

Open xml file and add RecyclerView

<android.support.v7.widget.RecyclerView
            android:id="@+id/recyclerView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            tools:listitem="@layout/list_item_comment" />

 

Categories: Android Tips

Leave a Reply

Your email address will not be published. Required fields are marked *