Android Fundamentals
The 4 core components (Activity, Service, BroadcastReceiver, ContentProvider), Intent and Manifest
1What is an Activity in Android?
What is an Activity in Android?
Risposta
An Activity represents a single screen in an Android application. It's a fundamental component that manages the user interface and interactions. It must be declared in the AndroidManifest.xml to be used.
2What is the main difference between Activity and Fragment?
What is the main difference between Activity and Fragment?
Risposta
A Fragment is a modular and reusable sub-component that must be hosted within an Activity. An Activity is a standalone component representing a complete screen. An Activity can contain multiple Fragments, but a Fragment cannot exist without an Activity.
3What is the AndroidManifest.xml file used for?
What is the AndroidManifest.xml file used for?
Risposta
The AndroidManifest.xml file is essential for every Android application. It declares all app components (Activities, Services, Receivers, Providers), defines permissions, intent-filters, specifies metadata and the minimum supported Android version.
How do you declare an Activity in AndroidManifest.xml?
What is an Intent in Android?
+21 domande da colloquio
Altri argomenti di colloquio Android
Android UI and Resources
Android Lifecycle
Android Navigation
Android Data Management
Android Networking
Android Testing
Android Gradle
Kotlin Language Essentials for Android
Room Database
Background Work
Jetpack Compose
Permissions and Device Features
Firebase for Android
Android MVVM Architecture
Advanced Android Networking
Kotlin Collections and Operators
Kotlin Coroutines and Flow
Android Dependency Injection
Android MVI Architecture
Android Clean Architecture
Android Compose Advanced
Android Performance and Monitoring
Android Security and Privacy
Android CI/CD and Release
Android UX and Form Factors
Android Testing Advanced
Padroneggia Android per il tuo prossimo colloquio
Accedi a tutte le domande, flashcards, test tecnici, esercizi di code review e simulatori di colloquio.
Inizia gratis