M
M
Michael Kim2016-12-13 01:30:23
Java
Michael Kim, 2016-12-13 01:30:23

Is there a fragment manager transaction end event?

Is there any event that happens after the transaction, like adding a fragment, is over? I just need to interact with the fragment view from the activity. Of course, you can write certain methods in the activity, then call these methods in the fragment's OnViewCreated and pass the view to them. But this option does not suit me. There is also an option to make interactions with the fragment in the onStart activity, but this does not quite suit me.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question