例如,如果一个新闻应用的activity里有两个fragment——一个显示文章列表(fragment A),另一个显示文章内容(fragment B)——然后fragment A必须告诉activity何时一个列表项目被选中,这样它才能告诉fragment B来显示那篇文章。
基于24个网页-相关网页
另一个显示文章内容
The other displays the content of the article
以上为机器翻译结果,长、整句建议使用 人工翻译 。
应用推荐
模块上移
模块下移
不移动