I created a Tab Layout with Swipeable Views using this tutorial. I\'m trying to pass a string from Activity to Fragment. I read about fragment communication and couple other top
I do not see that you set your argument to fragment. If you did, but you forgotten to write please inform me...
Bundle bundle=new Bundle();
bundle.putString("email", "emasiofnasdbjk");
EnterExitFragment enterExitFragment = new EnterExitFragment();
enterExitFragment.setArguments(bundle); // This line is needed...
android.support.v4.app.FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
transaction.replace(R.id.pager, enterExitFragment);
transaction.addToBackStack(null);
transaction.commit();