Android RecyclerView best practice -


i have page looks this:

a line of text list of items more lines of text list of items 

currently xml layout follows:

<textview/> <recyclerview/> <textview/> <textview/> <recyclerview/> 

i'm wondering if wouldn't better have 1 recyclerview different view types, instead of of this. considered best, , why?

i quite new android development, sorry if question not relevant.

you should use 2 recyclerviews because have 2 lists. putting 1 force items in list #1 scrolled before seeing items follow, including second list.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -