You can add or remove fragments in an activity while the activity is running. It will not be wrong if we say, a fragment is a kind of sub-activity.įollowing are important points about fragment −Ī fragment has its own layout and its own behaviour with its own life cycle callbacks. A Fragment is a piece of an activity which enable more modular activity design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |