Skip to content

Commit

Permalink
Fix crash for incorrect import of LinearLayoutManager
Browse files Browse the repository at this point in the history
  • Loading branch information
akhbulatov committed May 1, 2019
1 parent 0a36ce1 commit c7d9de8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/res/layout/fragment_category_list.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand All @@ -8,7 +9,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical"
app:layoutManager="android.support.v7.widget.LinearLayoutManager" />
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_category" />

<TextView
android:id="@+id/text_no_results_category"
Expand Down

0 comments on commit c7d9de8

Please sign in to comment.