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.
我有一个片段状态寻呼机适配器和一个问题列表,我从服务器检索为 JSON。有谁知道我如何动态地(基于从服务器返回的问题数量),创建同一片段的许多实例,并将它们加载到我的活动视图中?
您是否考虑过首先将问题保存在列表中,然后在 Adapter 上相应地生成您的片段