The most fundamental is that a fragment runs within a larger activity: a fragment cannot exist apart from an activity, and the fragment lifecycle is dependent on the lifecycle of the activity. In that sense it is like an Activity, but with some important differences. This project introduces the basic idea of Fragments, which are an essential part of modern Android programming and will be used in various ways for some of the following projects.Ī Fragment is basically a piece of the user interface or a behavior that has its own lifecycle (see this
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |