📜  如何从第二个片段到第一个片段 android - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:40.693000             🧑  作者: Mango

代码示例1
All you have to do is implement the correct type of listener, but the main point is shown. In one fragment activity, call a method and pass a variable to the main activity. From the main activity you can send it to your other fragment activity if you'd like