i
Crownstack Technologies
Filter interviews by
var and val are keywords used for declaring variables in Kotlin.
var is used for declaring mutable variables whose value can be changed.
val is used for declaring immutable variables whose value cannot be changed.
Both var and val can be used for declaring variables of any data type.
Example: var age: Int = 25 (mutable variable), val name: String = "John" (immutable variable)
Scope functions are Kotlin's way of executing a block of code within the context of an object.
There are five scope functions: let, run, with, apply, and also.
They help to reduce boilerplate code and make code more concise.
Each function has a specific use case, such as accessing properties or chaining method calls.
Example: val result = myList?.let { list -> list.filter { it > 0 } }
Example: val result = myList.run { filt...
Top trending discussions
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Two simple Leetcode Problems
Medium level question
posted on 4 Oct 2023
I applied via LinkedIn and was interviewed in Feb 2020. There were 3 interview rounds.
Used ConstraintLayout for flexible UI design
ConstraintLayout allows for flexible UI design and reduces nested layouts
It supports complex layouts with multiple views and constraints
It improves performance by reducing the number of layout hierarchies
Other layouts used include LinearLayout and RelativeLayout
I have used MVP and MVVM design patterns in my Android development projects.
MVP (Model-View-Presenter) separates the presentation layer from the business logic and data access layers.
MVVM (Model-View-ViewModel) separates the view from the business logic and data access layers, and uses data binding to update the view automatically.
MVP is better suited for smaller projects, while MVVM is better for larger projects with ...
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
It was js coding and react native related questions.
posted on 31 Mar 2024
I applied via Instahyre and was interviewed in Oct 2023. There was 1 interview round.
I applied via LinkedIn and was interviewed in Feb 2023. There were 3 interview rounds.
Aptitude + coding test with screen sharing and audio and video recording.
To display a Toast message in Android, use the Toast class and call the makeText() method.
Create a Toast object by calling Toast.makeText() method with context, message, and duration parameters
Call show() method on the Toast object to display the message on the screen
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Two simple Leetcode Problems
Medium level question
based on 1 review
Rating in categories
Reactjs Developer
10
salaries
| ₹3 L/yr - ₹13.2 L/yr |
Senior Inside Sales Executive
10
salaries
| ₹4.8 L/yr - ₹8 L/yr |
React Native Developer
8
salaries
| ₹5.5 L/yr - ₹7 L/yr |
Front end Developer
8
salaries
| ₹4 L/yr - ₹7 L/yr |
Android Developer
8
salaries
| ₹2.7 L/yr - ₹6.5 L/yr |
TO THE NEW
Srijan Technologies
Net Solutions
Tatvasoft