A few weeks ago I am learning to use the RecyclerView
. My main intention to learn how to use it, was that I needed to implement a horizontal list, that is, when turning the device in landscape mode (horizontal) it appeared as follows:
After much searching, I found the detailed way to implement it (how to create the horizontal offset of RecyclerView
, here ), but I ran into another problem. The item of RecyclerView
was larger than the height of the device (in landscape, horizontal), so I need to create a vertical and horizontal scroll at the same time.
I have looked at the Android Developer methods of the LayoutManager class, but my knowledge is not so high as to understand most of the methods that exist, I have also tried to insert another RecyclerView horizontally in a vertical RecyclerView the content, but I get error of IllegalStateException: RecyclerView has no LayoutManager
that I found, as a solution, remove all <View.../>
of the XML file, but it does not give any results, and of course, I searched through thousands of pages of the Internet, but see that no one has raised this or it is not possible.
To clarify what I ask with this entry is, someone tell me if this is possible and if you have a possible idea of how to implement it (although I do not know if it is possible) and if it is not possible for me to explain why.