Login
Remember
Register
Ask a Question
Is it possible to use or add a fragment without using a user interface?
0
votes
asked
Sep 4, 2023
in
Android
by
Robindeniel
Is it possible to use or add a fragment without using a user interface?
fragment
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 4, 2023
by
Robindeniel
Yes, it is possible to do that, such as when you want to create background behaviour for a particular activity. You can do this by using add (Fragment, string) method to add a fragment from the activity.
...