Nested Recyclerview scrolls by itself

前端 未结 7 785
情歌与酒
情歌与酒 2020-12-08 02:19

I have a parent recyclerview that has 3 child view in it. The last two of the child are recyclerview.

Parent recyclerview
 - child view 1
 - child view 2 (ho         


        
7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-08 02:56

    Initialize layout manager in oncreate only or only 1 time dont re initialize it recyclerview.setLayoutManager(new LinearLayoutManager(context));

提交回复
热议问题