Activity vs Fragment Lifecycle [closed]
Differences between Activity and Fragment lifecyle in Android Fragment is a part of an activity, which contributes its own UI to that activity. Fragment can be thought like a sub activity. Fragments are used to efficiently use the space in wider screen devices. An activity may contain 0 or multiple number of fragments based on … Read more