Question - Is it possible to use or add a fragment without using a user interface?
Answer -
Yes, it is possible to do that, such as when you want to create a background behavior for a particular activity. You can do this by using add(Fragment,string) method to add a fragment from the activity.