Filter interviews by
To implement a service in Android, you need to create a class that extends Service and override its lifecycle methods.
Create a class that extends Service
Override lifecycle methods such as onStartCommand() and onDestroy()
Register the service in the AndroidManifest.xml file
Start the service using startService() method
The RecyclerView is a flexible view for providing a limited window into a large data set.
Create a RecyclerView in your layout XML file.
Define a custom adapter class that extends RecyclerView.Adapter.
Implement the necessary methods in the adapter class like onCreateViewHolder, onBindViewHolder, and getItemCount.
Set the adapter to the RecyclerView in your activity or fragment.
Optionally, you can also implement a layout m...
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOPs focuses on creating objects that interact with each other to solve a problem.
It involves concepts like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
E...
Top trending discussions
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Jun 2024. There were 2 interview rounds.
MVVM is a design pattern that separates the UI, business logic, and data layers in an Android app.
MVVM stands for Model-View-ViewModel.
Model represents the data and business logic.
View is the UI component that displays the data.
ViewModel acts as a mediator between the Model and View, handling user interactions and updating the UI.
Data binding is often used to connect the ViewModel with the View in MVVM.
Example: In an A...
A Content Provider is a component in Android that manages access to a structured set of data.
Content Providers are used to share data between different applications.
They provide a standard interface for connecting data in one process with code running in another process.
Content Providers can be used to store and retrieve data from a SQLite database, a file, or even the web.
Examples of Content Providers include Contacts
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...
To check if a number is palindrome, reverse the number and compare it with the original number.
Convert the number to a string to easily reverse it
Reverse the string and compare it with the original string
If they are the same, the number is a palindrome
To find the smallest number in a list, iterate through the list and keep track of the smallest number found so far.
Iterate through the list and compare each number with the current smallest number.
If a number is smaller than the current smallest number, update the smallest number.
Return the smallest number found after iterating through the entire list.
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
Use counting sort algorithm to achieve O(n) time complexity.
Count the frequency of each string in the array.
Create a new array based on the frequency counts.
Iterate through the new array to reconstruct the sorted array.
Coding test based on array
I applied via Naukri.com and was interviewed before Apr 2023. There were 2 interview rounds.
Both Kotlin and Java can be used for coding in Android development.
Both Kotlin and Java are officially supported languages for Android development.
Kotlin is preferred by many developers for its concise syntax and reduced boilerplate code.
Java is still widely used in existing Android projects and has a larger pool of resources and libraries.
Developers can choose between Kotlin and Java based on their familiarity and pro
based on 4 reviews
Rating in categories
PHP Developer
20
salaries
| ₹1.2 L/yr - ₹5.2 L/yr |
Java Developer
15
salaries
| ₹1.7 L/yr - ₹4.2 L/yr |
Android Developer
11
salaries
| ₹2.4 L/yr - ₹4.2 L/yr |
Software Developer
8
salaries
| ₹1.8 L/yr - ₹5.6 L/yr |
Senior PHP Developer
8
salaries
| ₹3.6 L/yr - ₹5 L/yr |
Infosys
TCS
Wipro
HCLTech