Filter interviews by
The life cycle of an activity and fragment in Android determines how they are created, started, resumed, paused, stopped, and destroyed.
Activity life cycle: onCreate(), onStart(), onResume(), onPause(), onStop(), onDestroy()
Fragment life cycle: onAttach(), onCreate(), onCreateView(), onActivityCreated(), onStart(), onResume(), onPause(), onStop(), onDestroyView(), onDestroy(), onDetach()
Activity and fragment life cycle...
Different ways to store data in Android include SharedPreferences, SQLite database, Content Providers, and File system.
SharedPreferences: used to store key-value pairs
SQLite database: used for structured data storage
Content Providers: used for sharing data between applications
File system: used for storing files locally
One way to store multiple data in mobile without using SQLite is by using SharedPreferences.
SharedPreferences can be used to store key-value pairs of data.
It is a lightweight storage option and is easy to implement.
Data can be stored as primitive types, strings, or sets.
Example: Storing user preferences, app settings, or small amounts of data.
The activity life cycle in Android refers to the sequence of events that occur when an activity is created, paused, resumed, and destroyed.
Activities have different states such as onCreate, onStart, onResume, onPause, onStop, and onDestroy.
The activity transitions between these states based on user interactions and system events.
For example, when an activity is first created, the onCreate method is called, followed by ...
To increase app performance, I would use techniques like code optimization, caching, multithreading, and reducing network calls.
Optimize code by removing unnecessary operations and improving algorithms
Implement caching to store frequently accessed data locally
Utilize multithreading to perform time-consuming tasks in the background
Reduce network calls by batching requests or using local storage
Use tools like Android Pro
The output of a left join operation.
A left join returns all the rows from the left table and the matching rows from the right table.
If there is no match, NULL values are returned for the right table columns.
The output will have all the columns from the left table and the matching columns from the right table.
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There was 1 interview round.
Intent is a messaging object used to request an action from another app component.
Intent is used to start activities, services, and broadcast receivers in Android.
It can also be used to pass data between components.
There are two types of intents: explicit intents and implicit intents.
Explicit intents specify the component to start by name.
Implicit intents specify the action to perform and let the system find the approp
Work Manager is an Android Jetpack library used for managing deferrable, asynchronous tasks.
Work Manager is part of the Android Jetpack library.
It is used for managing deferrable, asynchronous tasks that need to run even if the app is in the background.
Work Manager provides various constraints and options for scheduling tasks, such as network availability, charging status, and more.
It is recommended for tasks that are ...
Yahsjsj uejjeje iejejje jejejrj
I applied via campus placement at Velammal Engineering College, Chennai and was interviewed in May 2024. There were 4 interview rounds.
Aptitude questions(seating arrangement,number series),verbal reasoning, Networking,Cloud based questions,and pseudocode
2 coding questions,one will be easy, other will be tough,solving atleast one problem is necessary.
Scope functions in Kotlin are functions that allow you to execute a block of code within the context of an object.
There are five scope functions in Kotlin: let, run, with, apply, and also.
Each scope function has a specific use case and can help improve code readability and reduce boilerplate code.
Scope functions can be used to perform operations on an object and return a result or modify the object itself.
For example, ...
LazyRow is a Jetpack Compose component for displaying horizontally scrolling lists, while RecyclerView is a traditional Android view for displaying large data sets efficiently.
LazyRow is part of Jetpack Compose, RecyclerView is part of the Android framework
LazyRow is more declarative and easier to use for simple lists, RecyclerView is more powerful and customizable for complex lists
LazyRow automatically handles recycli...
I applied via Recruitment Consulltant and was interviewed before Oct 2023. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Data class in Kotlin is used to represent a simple data container with automatically generated methods like equals(), hashCode(), toString(), and copy().
Data classes are declared using the 'data' keyword before the class keyword.
Properties of data classes are automatically generated component functions for destructuring declarations.
Data classes cannot be abstract, open, sealed, or inner.
Example: data class User(val na
ViewModel is a class that stores and manages UI-related data in a lifecycle-conscious way. MVVM is an architectural pattern that separates the UI from the business logic.
ViewModel is part of the Android Architecture Components and is used to store and manage UI-related data in a lifecycle-conscious way.
ViewModel survives configuration changes such as screen rotations and retains its data.
MVVM stands for Model-View-View...
Coroutines are a way to perform asynchronous operations in Android, securing app data involves encryption, SSL pinning enhances security, FCM for notifications.
Coroutines are used for managing asynchronous operations in Android, allowing for efficient and non-blocking code execution.
Securing app data involves using encryption techniques such as AES to protect sensitive information from unauthorized access.
SSL pinning i...
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There was 1 interview round.
Intent is a messaging object used to request an action from another app component.
Intent is used to start activities, services, and broadcast receivers in Android.
It can also be used to pass data between components.
There are two types of intents: explicit intents and implicit intents.
Explicit intents specify the component to start by name.
Implicit intents specify the action to perform and let the system find the approp
Work Manager is an Android Jetpack library used for managing deferrable, asynchronous tasks.
Work Manager is part of the Android Jetpack library.
It is used for managing deferrable, asynchronous tasks that need to run even if the app is in the background.
Work Manager provides various constraints and options for scheduling tasks, such as network availability, charging status, and more.
It is recommended for tasks that are ...
Senior Php Developer and Team Lead
3
salaries
| ₹4.1 L/yr - ₹4.8 L/yr |
TCS
Accenture
Wipro
Cognizant