This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AddActivity extends AppCompatActivity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
openFragmentA(/*Pass your eight strings*/); | |
} | |
} | |
public void openFragmentA(/*eight Strings*/){ | |
FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); | |
FragmentA myFragment = FragmentA.newInstance(/*eight Strings*/); |