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.
我在左侧有一个数据列表。我需要根据左侧数据中的选择创建新活动,从而在右侧显示详细信息。
对于左侧列表中的每个项目,我需要在单独的活动中显示详细信息。
如何做到这一点?
您需要的是Master-Detail-Flow。如果您设置项目,Eclipse 中有一个可用的模板。链接中的教程正在详细解释它。
要使用它,您应该查看Fragments。