-1

I have a fragment and I want to add its data to another fragment via getFragmentManager() but this metod has been deprecated and now I don't know what to do. Screenshot

Janez Kuhar
  • 3,705
  • 4
  • 22
  • 45

1 Answers1

0

You can use FragmentActivity.getSupportFragmentManager(). Visit Since the Android getFragmentManager() API is deprecated, is there any alternative? for more details .

Aditya
  • 91
  • 4