美文网首页
列表 滑动 constraintlayout 错位

列表 滑动 constraintlayout 错位

作者: 朱_c713 | 来源:发表于2020-07-29 09:39 被阅读0次

    滑动后未收的位置错位。

    ```

    View itemView = LayoutInflater.from(this).inflate(R.layout.meter_record_item, null);

    ```

    改成:

    View itemView = LayoutInflater.from(this).inflate(R.layout.meter_record_item, parent,false);

    相关文章

      网友评论

          本文标题:列表 滑动 constraintlayout 错位

          本文链接:https://www.haomeiwen.com/subject/lszcrktx.html