I want to communicate with a fragment in a FragmentTabHost
The communication Fragment->Activity is done! With an interface.
But I can't create a communication Activity->Fragment because I created the fragment like this:
mTabHost.addTab(
mTabHost.newTabSpec("tab2").setIndicator("Affichage",
getResources().getDrawable(android.R.drawable.star_on)),
MySelectionFragment.class, null);
MySelectionFragment is a class not a fragment like new MySelectionFragment()
And I dunno how to communicate with a class :/
Thanks in advance!