How to use RecyclerView inside NestedScrollView?

前端 未结 24 2698
抹茶落季
抹茶落季 2020-11-22 03:39

How to use RecyclerView inside NestedScrollView? RecyclerView content is not visible after setting adapter.

UPDATE

24条回答
  •  一整个雨季
    2020-11-22 04:30

    For my case the child of NestedScrollview is ConstraintLayout. It is not working as expected i replaced it to LinearLayout. Maybe it helps someone.

    
    
      
    
        
    
      
    
    

提交回复
热议问题