i
Consult Red
Filter interviews by
Top trending discussions
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
I am a Senior Android Developer with 5+ years of experience in developing mobile applications for various industries.
Developed and maintained multiple Android applications from concept to deployment
Proficient in Java, Kotlin, and Android SDK
Experience with RESTful APIs, third-party libraries, and version control systems like Git
Strong problem-solving skills and ability to work in a team environment
Familiar with Agile d
Higher order function is a function that can take other functions as parameters or return functions as results.
Higher order functions can be passed as arguments to other functions.
Higher order functions can return functions as results.
Examples include map, filter, and reduce functions in functional programming.
The inline keyword is used in Kotlin to suggest that a function should be inlined at the call site.
Used to eliminate the overhead of function calls by copying the function code directly at the call site
Helps in improving performance by reducing the function call overhead
Should be used for small functions or lambdas to avoid unnecessary function call overhead
Agile methodology is a project management approach that emphasizes flexibility, collaboration, and iterative development.
Agile methodology focuses on delivering working software in short, iterative cycles called sprints.
It values customer collaboration and responding to change over following a strict plan.
Key principles include individuals and interactions over processes and tools, working software over comprehensive d...
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...
Normal MCQ questions reasoning, java related and programs outputs
Difference between abstract classes and interfaces, Array sort time complexity
posted on 13 May 2024
I applied via Company Website and was interviewed in Apr 2024. There were 2 interview rounds.
posted on 28 May 2024
I was interviewed in Apr 2024.
Jetpack Compose is a modern Android UI toolkit that simplifies and accelerates UI development.
Declarative UI: Jetpack Compose allows developers to build UI using a declarative programming model.
State management: Jetpack Compose handles state management efficiently, making it easier to update UI based on data changes.
Compose functions: Developers can create reusable UI components using Compose functions.
Interoperability...
remember is used to store a value in a composable function, while rememberSaveable is used to store a value that survives configuration changes.
remember is used to store a value that does not survive configuration changes
rememberSaveable is used to store a value that survives configuration changes, such as rotation of the device
rememberSaveable is typically used for storing view model data in Jetpack Compose
posted on 20 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
The lifecycle of an Activity in Android refers to the series of states an Activity goes through from creation to destruction.
An Activity goes through states like onCreate, onStart, onResume, onPause, onStop, onDestroy, etc.
Each state has specific methods that can be overridden to perform actions at that state.
For example, onCreate is called when the Activity is first created, onResume is called when the Activity is bro
Multiple views in RecyclerView can be handled by using different view types and view holders.
Use getItemViewType() method to return different view types based on position
Create multiple view holders for each view type
Bind data to each view holder based on its type
Example: Creating a chat app with different message types like text, image, and video
UI thread is the main thread in Android responsible for handling user interface interactions.
UI thread is also known as the main thread in Android.
It is responsible for handling user interface interactions such as drawing views, handling touch events, and updating UI components.
Performing long-running tasks on the UI thread can lead to UI freezes and unresponsiveness.
To perform background tasks and prevent blocking the...
Marker interface is an interface with no methods, used to mark a class for special treatment.
Marker interfaces are used to provide metadata about the class.
They do not have any methods to implement.
Examples include Serializable interface in Java.
A fragment is a modular section of an activity that has its own lifecycle, layout, and behavior.
Fragments are reusable components that can be combined to create a multi-pane UI.
They can be added or removed from an activity dynamically.
Fragments have their own lifecycle methods such as onCreate, onCreateView, and onDestroyView.
based on 1 interview
Interview experience
TCS
Accenture
Wipro
Cognizant