android - 我为什么要利用这个设计?
问题描述
我用fragments
什么views
?
解决方案
您可以将 RecyclerView 与LinearLayoutManager.HORIZONTAL
Section 一起使用。如果您的 Sections 是变量,那么您应该使用嵌套的 RecyclerView 父 RecyclerView 将是LinearLayoutManager.VERTICAL
& Childs 将是LinearLayoutManager.HORIZONTAL
看看这个
推荐阅读
- azure - 逻辑应用子文件夹触发器
- python - python中有没有像Arduino的millis()这样的函数?
- sql - oracle sql组合
- python - ValueError: s 必须是标量,或与 x 和 y 大小相同
- ios - CoreLocation - Continuous location update in background with authorizedWhenInUse authorization
- matlab - 从某些坐标之间的线轮廓计算梯度
- php - Recaptcha v2 未在 PHP 中验证
- javascript - 如何使javascript图表在HTML div中响应
- angular - core.js:6237 错误类型错误:无法设置未定义的属性“区域”
- blazor - 如何将 Blazor 组件移动到不同的程序集