What is the syntax of mocking an object using mockito?
Lead Android Developer Interview Questions
81 lead android developer interview questions shared by candidates
You're in a house that has two rooms, and there's no way to see from one room to the other. One room has three light switches, and the other room has three corresponding light bulbs. You don't know which switch triggers which bulb and can only make a single trip between the two rooms. How do you find out?
DS and algorithms - 1. Array problems 2. Order of complexity discussion Android and Oops - 1. Architecture choices 2. Handling multiple API calls on home screen 3. Rxjava 4. Dependency injection 5. SOLID principles HR round - 1. Why Airfi ? 2. Experience with the past companies 3. Future goals and aspirations
Design an algorithm for solving the "skyline" problem. Including complexity asked, coding on the whiteboard part of a function.
2 rounds : Round 1 : 1. Coding round : 0 1 2 1 2 0 sort them optimally Android : 1. If we go to Activity A to Activity B which methods will be called? 2. Why can't we pass arguments in constructor 3. Disapatcher.IO vs Dispather.Default internal 4. How recycler view works internally 5. Why findViewid extension is deprecated 6. How viewmodel works internally 7. How suspend function works in android Architecture : 1. Create app which has list of users and login page, if it doesnt exist then it should show signup Round1 : Code LRU Android : 1. What is advantages of Room over SQlite 2. How can we observer value at room 3. How to handle error in Co-routines 4. What steps we will take to decrease APK size 5. How to handle backpressure in JAVA 6. What issue we get when using vector images 7. How do we use dagger2 clasess Architecture : We have given app tp build when has list of fruits and we need to show them in vertical list but with offline caching.
A catalogue app, for example the homescreen of Netflix with some added effects, search functionality, of course TDD, etc
I've been given a test that was basically about showing a list of drivers on a map, updating positions, calculating closest driver based on the user position, etc. Very basic thing. Had 2 or 3 days to do it. I've seen other people here saying that they basically wanted you to work for free and never hire you, which is ridiculous. This is a typical hiring exercise, designed to measure your various skills. They threw my work away as soon as I passed that step.
How protected variable in one package can be accessed in another package.
What is the MVVM model?
Given a circular array of 0s and 1s find max number of consecutive 1s 12 balls of the same shape with 1 being defective. Given a weighing machine, you have 3 chances to find the defective one Custom LiveData
Viewing 1 - 10 interview questions