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
The person can escape the island by creating a firebreak or finding a body of water.
Create a firebreak by clearing a path of grass around oneself to prevent the fire from spreading.
Look for a body of water such as a lake, river, or ocean to escape the fire.
If no water source is available, try to find a sheltered area with less dry grass to wait for the fire to pass.
Use any available tools or materials to help create a
Yes, social media can be used for educational purposes.
Social media provides a platform for sharing educational content and resources.
It allows for collaboration and communication among students and teachers.
Social media can enhance learning through interactive discussions and real-time feedback.
It can also help in reaching a wider audience and promoting educational initiatives.
Examples include educational YouTube chan...
I am a highly motivated and experienced project engineer with a strong background in managing complex engineering projects.
I have a Bachelor's degree in Engineering and have been working as a project engineer for the past 5 years.
I have successfully managed multiple projects from conception to completion, ensuring they are delivered on time and within budget.
I have a proven track record of effectively coordinating with...
The present CEO is John Smith.
John Smith is the current CEO of the company.
He has been in this position since 2015.
Under his leadership, the company has experienced significant growth and expansion.
John Smith has a strong background in engineering and project management.
He is known for his strategic vision and ability to drive innovation.
I am excited to join your company because of its reputation for excellent customer service and commitment to employee development.
I have researched your company and am impressed by the positive reviews from customers and employees alike.
I am excited about the opportunity to work with a team that values collaboration and innovation.
I am confident that I can contribute to the company's success by utilizing my strong comm...
Senior Php Developer and Team Lead
3
salaries
| ₹4.1 L/yr - ₹4.8 L/yr |
TCS
Accenture
Wipro
Cognizant