Android Developer Question:

What are fragments?

Tweet Share WhatsApp

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.

Download Android Developer PDF Read All 56 Android Developer Questions
Previous QuestionNext Question
Explain me what is an intent?Do you know what is Application?