I'm in my fragment class calling this:
@OnClick(R.id.blockedLinkLayout)
public void onBlockedClick(){
final FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.replace(R.id.content, new SettingsBlockedUsersFragment(), FRAGMENT_TAG);
ft.commit();
}
And it just replace my current fragment with chosen one.
And my question is, how can I send some data (e.g. String
value) from my parent fragment to my child fragment using FragmentTransaction?