LaHagora
REDA Chemicals India Pvt.Ltd - Delhi Interview Questions and Answers
Q1. In Livedata what is difference between senddata and postdata
In LiveData, the difference between sendData and postData is that sendData delivers data immediately, while postData delivers data after a delay.
sendData delivers data immediately to all active observers.
postData delivers data after a delay to all active observers.
sendData is synchronous, while postData is asynchronous.
Q2. What is oops concepts in detail
OOP concepts are fundamental principles in object-oriented programming that help in organizing and designing code.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability of objects to take on multiple forms or have multiple behaviors.
Abstraction: Hiding the complex implementation details and showing only the necessary features of a...read more
Q3. Difference between MVVM and clean architecture
MVVM focuses on separating UI logic from business logic, while clean architecture focuses on separation of concerns and scalability.
MVVM stands for Model-View-ViewModel, where the ViewModel acts as a mediator between the View and the Model.
Clean architecture emphasizes separation of concerns, with layers like domain, data, and presentation.
MVVM helps in testing UI components independently, while clean architecture promotes testability and maintainability.
MVVM is more specific...read more
Q4. What are container in xml
Containers in XML are used to group multiple elements together.
Containers are used to organize and group related elements in XML.
They help in structuring the XML document and making it more readable.
Examples of containers in XML include <div>, <section>, <table>, etc.
Q5. What is services in Android
Services in Android are background components that perform long-running operations without a user interface.
Services run in the background and continue to run even if the app is closed.
They can be used for tasks such as playing music, downloading files, or syncing data.
Services can be started or bound to by other components in the app.
They can be classified as started services (run once and stop) or bound services (interact with other components).
Q6. What is broadcast receiver
A broadcast receiver is a component that responds to system-wide broadcast announcements.
Broadcast receivers can be registered either in the AndroidManifest.xml file or dynamically in code.
They can listen for system events like battery low, network connectivity changes, incoming calls, etc.
Broadcast receivers can be used to trigger actions in response to specific events, such as displaying a notification when a new SMS is received.
Q7. Why we use XML
XML is used for storing and transporting data in a structured format.
XML allows for easy organization and manipulation of data.
It is commonly used for configuration files, web services, and data interchange.
XML tags provide a way to define the structure of data, making it easier to understand and process.
XML is platform-independent and can be easily parsed by different programming languages.
Q8. What is fragments
Fragments in Android are modular sections of an activity that enable more flexible and dynamic user interfaces.
Fragments can be added, removed, replaced, and rearranged within an activity.
They allow for better organization of UI components and can be reused across multiple activities.
Fragments have their own lifecycle and can communicate with the activity and other fragments using interfaces.
Examples include using fragments for navigation drawers, tabs, or displaying differen...read more
Q9. Main components of Android
The main components of Android are Activities, Services, Broadcast Receivers, and Content Providers.
Activities: UI components that represent a single screen with a user interface.
Services: Background components that perform long-running operations.
Broadcast Receivers: Respond to system-wide broadcast announcements.
Content Providers: Manage access to a structured set of data.
Interview Process at REDA Chemicals India Pvt.Ltd - Delhi
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month