Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的 xml(活动)文件的屏幕截图 + 保持为空的预览...
https://ibb.co/3d9BjYz https://ibb.co/3CvTJKh
请阅读 Android 文档中的 AdapterView 说明。这是解释:“AdapterView 是一个视图,其子项由适配器确定。”
您没有共享您的 Java 代码,但您需要一个适配器来绑定数据和视图。请检查适配器中的 getView 方法。您的问题应该与 Adapter 类中的父视图有关。