Android Developer Question:

What are fragments?

Android Developer Interview Question
Android Developer Interview Question

Answer:

Fragment is a UI entity attached to Activity. Fragments can be reused by attaching in different activities. Activity can have multiple fragments attached to it. Fragment must be attached to an activity and its lifecycle will depend on its host activity.


Previous QuestionNext Question
Explain me what is an intent?Do you know what is Application?