Get added child fragment from FragmentContainerView
I'm adding fragments to my FragmentContainerView programmatically by doing:
var label = DecimalPlayerLabel.newInstance(Point(x,y), name, rating)
supportFragmentManager.beginTransaction().add(R.id.fragmentPlayerContainer,label).commit()
But i could not find any way to get these added fragments but to iterate the FragmentContainerView.children which will just bring these fragments as view.
What am i missing out here?