Attach TextView to RecyclerView
You can add that TextView
as one of the RecyclerView
's items using a custom RecyclerAdapter
or you could use a ScrollView
with LinearLayout
as its content, instead of a RecyclerView
as it's not advisable to use one inside a ScrollView
.
I did the same using these two great resources:
https://plus.google.com/114432517923423045208/posts/EdkQFx1RqhE
https://gist.github.com/gabrielemariotti/4c189fb1124df4556058
You can try Android-ObservableScrollView.
Refer following link: https://github.com/ksoichiro/Android-ObservableScrollView