-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,096
  • 2
  • 22
  • 39

1 Answers1

0

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

Aditya
  • 61
  • 4