【Android】两行代码解决NestetScrollView嵌套RecycleView滑动不顺滑

LinearLayoutManager layoutManager = new LinearLayoutManager(this);
layoutManager.setSmoothScrollbarEnabled(true);
layoutManager.setAutoMeasureEnabled(true);

    recyclerView.setLayoutManager(layoutManager);
    recyclerView.setHasFixedSize(true);
    recyclerView.setNestedScrollingEnabled(false);

原文参考CSDN博客:http://blog.csdn.net/u010839880/article/details/52672489

    原文作者:李翾
    原文地址: https://www.jianshu.com/p/b82dd81538a4
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞