Is it possible to use or add a fragment without using a user interface?

Asked 10-Jan-2018
Viewed 1048 times

1

Is it possible to use or add a fragment without using a user interface?


1 Answer


0

yes, it is possible to add fragment without a user interface. This can be done when the user wants to create a background behaviour for an activity. you can do this by simply using the method add(Fragment, string) from an activity.