我有个阵列。["Type of Motor","Fan Size","Nominal Operating Voltage","Operating Voltage Range","Type of Blades","Fan Control Strategy","Protection Features"]。我想将这个数组转换为textview布局。我不知道该怎么做。
我要输出,如下图所示。

发布于 2022-10-07 20:59:19
您必须在“回收视图”中传递此数组来显示这些数据,因为每当需要显示列表内容时,我们都会使用回收视图。这是一个完整的解决方案。Simple Android RecyclerView example
https://stackoverflow.com/questions/73992062
复制相似问题