Podcast
Questions and Answers
What is a Native App?
What is a Native App?
- A cross-platform application.
- A web app that runs on a browser.
- An application written specifically for a single platform. (correct)
- An application that only uses HTML/CSS.
What is the purpose of an Activity in Android?
What is the purpose of an Activity in Android?
- To handle network requests.
- To manage a single screen with a user interface. (correct)
- To save offline data.
- To send notifications.
Which method is called first in the lifecycle of an Activity?
Which method is called first in the lifecycle of an Activity?
- onPause()
- onStart()
- onCreate() (correct)
- onDestroy()
How does a Fragment differ from an Activity?
How does a Fragment differ from an Activity?
To store simple key-value data on Android, which of the following should you use?
To store simple key-value data on Android, which of the following should you use?
Which programming language does Flutter use?
Which programming language does Flutter use?
In what format do APIs commonly return data in mobile applications?
In what format do APIs commonly return data in mobile applications?
Which tool is commonly used to make API calls in Android?
Which tool is commonly used to make API calls in Android?
What is a key advantage of a cross-platform app?
What is a key advantage of a cross-platform app?
MVVM stands for?
MVVM stands for?
What is the main responsibility of a ViewModel?
What is the main responsibility of a ViewModel?
What type of error commonly causes an Android app to crash?
What type of error commonly causes an Android app to crash?
Which of the following is a popular Flutter library for state management?
Which of the following is a popular Flutter library for state management?
CoreData is a local data storage technology in which operating system?
CoreData is a local data storage technology in which operating system?
Which of the following is a method for optimizing a mobile app?
Which of the following is a method for optimizing a mobile app?
Which method should be used to run long-term background tasks in Android?
Which method should be used to run long-term background tasks in Android?
Which library can be used for JSON parsing?
Which library can be used for JSON parsing?
What is an Authorization Token commonly used for?
What is an Authorization Token commonly used for?
The lifecycle of a Fragment is tied to?
The lifecycle of a Fragment is tied to?
How many basic layers does Clean Architecture divide an app into?
How many basic layers does Clean Architecture divide an app into?
Flashcards
What is a Native App?
What is a Native App?
An application written specifically for a particular mobile operating system.
What does an Activity do in Android?
What does an Activity do in Android?
Manages a single screen with which the user can interact.
Which method is called first in the Activity lifecycle?
Which method is called first in the Activity lifecycle?
The first method called when an Activity is created, used for initialization.
What is a Fragment?
What is a Fragment?
Signup and view all the flashcards
What are SharedPreferences used for?
What are SharedPreferences used for?
Signup and view all the flashcards
What language does Flutter use?
What language does Flutter use?
Signup and view all the flashcards
What data format do mobile APIs commonly return?
What data format do mobile APIs commonly return?
Signup and view all the flashcards
What is Retrofit used for?
What is Retrofit used for?
Signup and view all the flashcards
What is a major advantage of Cross-platform apps?
What is a major advantage of Cross-platform apps?
Signup and view all the flashcards
What does MVVM stand for?
What does MVVM stand for?
Signup and view all the flashcards
What is the main responsibility of a ViewModel?
What is the main responsibility of a ViewModel?
Signup and view all the flashcards
What error commonly causes an Android app to crash?
What error commonly causes an Android app to crash?
Signup and view all the flashcards
Popular Flutter state management libraries?
Popular Flutter state management libraries?
Signup and view all the flashcards
CoreData's OS?
CoreData's OS?
Signup and view all the flashcards
What is a method to optimize mobile apps?
What is a method to optimize mobile apps?
Signup and view all the flashcards
How to run long background tasks in Android?
How to run long background tasks in Android?
Signup and view all the flashcards
Library to parse JSON?
Library to parse JSON?
Signup and view all the flashcards
Authorization Token
Authorization Token
Signup and view all the flashcards
Fragment lifecycle is tied to?
Fragment lifecycle is tied to?
Signup and view all the flashcards
Clean Architecture layers?
Clean Architecture layers?
Signup and view all the flashcards
Study Notes
- These notes cover key concepts in mobile application development, spanning native Android development, cross-platform solutions like Flutter, architectural patterns, data management, and optimization techniques.
Native Apps
- Native apps are specifically developed for a particular platform (e.g., iOS or Android).
Android Activity
- An Activity manages a single screen of the user interface in Android.
onCreate()
is the first method called in the Activity lifecycle.
Fragments
- A Fragment is a portion of an Activity, not independent.
Data Storage
- SharedPreferences are used for storing simple key-value data in Android.
Flutter
- Flutter uses the Dart programming language.
API Data Format
- APIs in mobile applications commonly return data in XML or JSON format.
API Calls in Android
- Retrofit is a popular tool for making API calls in Android.
Cross-Platform Apps
- A key advantage of cross-platform apps is the ability to write code once and deploy it on multiple platforms.
MVVM Architecture
- MVVM stands for Model View ViewModel.
- The ViewModel is responsible for managing UI logic.
App Crashes
- An Android app crash often results in a NullPointerException.
Flutter State Management
- Bloc, Redux, and Provider are all popular libraries for state management in Flutter.
CoreData
- CoreData is a local data storage technology in iOS.
Mobile App Optimization
- Caching frequently used data is a method for optimizing mobile apps.
Background Tasks in Android
- A Service is used to run long-term background tasks in Android.
JSON Parsing
- GSON can be used for JSON parsing.
Authorization Tokens
- Authorization Tokens are commonly used for security when accessing APIs.
Fragment Lifecycle
- The lifecycle of a Fragment is tied to the Activity it is contained within.
Clean Architecture
- Clean Architecture divides an app into 3 basic layers: Presentation, Domain, and Data.
Notification Channels
- Notification Channels are required starting with Android Oreo (Android 8).
Memory Leak Prevention
- To prevent memory leaks in Android, proper lifecycle management, avoiding holding context references, and clearing listeners when not in use are essential.
Flutter Widgets
- StatefulWidget is a Flutter widget that can change its state when data changes.
Android Manifest
- The Android Manifest is used to declare permissions and application configurations.
Handling Large Datasets
- RecyclerView is used to efficiently display large lists of items (thousands) in the UI.
App Background State
- When an application goes into the background, the Activity enters the
onStop()
state.
Dependency Injection
- Dependency Injection facilitates easier dependency management and module separation.
3-Tier Architecture
- An example of a 3-tier architecture is Domain - Data - Presentation.
Token Refresh
- Token Refresh is commonly used when a token expires.
Flutter BuildContext
- In Flutter, BuildContext is used to build the widget tree and access parent widgets.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.