Activities represent user interface entry points of your app. Any app you need to interact functionally with the user in a direct way, by letting the user enter things or telling the user graphically about the functional state of an app, will expose at least one activity to the system. We say functionally because telling the user in a notifying way about events can also happen by notifications via Toasts or the status bar, for which an activity is not needed.
3. Activities
Get Pro Android with Kotlin: Developing Modern Mobile Apps with Kotlin and Jetpack now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.