I have the listView in the NestedScrollView since the nested scrollView are out of the screen so some list will not be shown
Asked
Active
Viewed 1,299 times
1
-
1What's the sense of putting a ListView inside a ScrollView? – Egor Oct 22 '15 at 10:49
-
I want to scroll if there are many lists, do you have any suggestion? – UmAnusorn Oct 22 '15 at 10:51
-
You should probably avoid putting multiple ListViews on a single screen. – Egor Oct 22 '15 at 10:54
-
Combine data from `many lists` and use this data for one recyclerview – krossovochkin Oct 27 '15 at 07:14
2 Answers
1
You need to use RecyclerView inside NestedScrollView. And wrap it with custom LinearLayoutManager. How to use RecyclerView inside NestedScrollView?

Community
- 1
- 1

Maor Hadad
- 1,850
- 21
- 36
0
For the fast fix just put it in linear layout
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.nhaarman.listviewanimations.itemmanipulation.DynamicListView
android:id="@+id/listViewTaskInComplete"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</LinearLayout>

UmAnusorn
- 10,420
- 10
- 72
- 100
-
1`LinearLayout` + `ListView` != View with nested scrolling available, is it? – krossovochkin Oct 27 '15 at 07:15
-
yes, and since I have implemented on listView so this is the easiest solution right now. However, if I have time I will study on RecycleView – UmAnusorn Oct 27 '15 at 08:12