![]() ![]() We always need to embed Fragment in an activity and the fragment lifecycle is directly affected by the host activity’s lifecycle. We can combine multiple Fragments in Single Activity to build a multi panel UI and reuse a Fragment in multiple Activities. ![]() It represents a behaviour or a portion of user interface in an Activity. It will not be wrong if we say a fragment is a kind of sub-activity. In Android, Fragment is a part of an activity which enable more modular activity design. Fragment Tutorial With Example In Android Studio ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |