📅  最后修改于: 2022-03-11 14:52:40.693000             🧑  作者: Mango
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