-
Activity/Fragment/Broadcast/Application/Service Lifecycle (Explain with one line description)
-
Which lifecycle method gets called when A goes to B/come back to A?
Activity Launch Modes with examples
-
Let’s say 4 activities are there A->B->C->D. How to launch A from D finishing in between activities?
-
4 Activities are there A->B->C->D.How to finish application from D if none of the activities opened earlier finished till now?
-
How CLEAR_TOP flag intent works in android?
-
Service vs IntentService?When to prefer which type of service?
-
Explain ways for Activity to activity communication/Activity to fragment communication/Fragment to fragment communication.
-
How to make a service persist even after Application killed?
-
How to achieve Interprocess communication in android?
-
How Async task internally works? Async task implementation?
-
Cons of using Async task? How to overcome this limitation?
-
Why Job Scheduler?
-
Notification related changes in Oreo?
-
How to handle Background service and execution limits with new Oreo Updates?
-
Have you seen Google I/O 2018? What were the updates for Android there?
-
Why do we use Headless fragments?
-
Memory Leakage, Causes, and preventions in Android? I have written a blog out here.You can refer this too
-
Ways to optimize an Android Application.
-
Proguard-Obfuscation/ Minification, Build Variants, Flavours.
-
How to achieve MultiThreading in Android?
-
Suppose you have 10 images to fetch from Server. What is the best way to fetch images? (Hint: Read about ThreadPool and Executor)
-
Builder vs Factory Pattern with an example
-
Why MVP not MVC? They will ask you to make a wireframe kind of thing on paper to demonstrate MVP pattern in android.
-
Why RXJAVA so popular nowadays?
-
Problems in RXJAVA? They can provide you with some scenarios to get to know if you can find out the problems with it.
-
Map vs Flat map? (Most commonly asked in RXJAVA)
-
Should we provide a context in presenter/Model? Answering yes/no is not enough. You have to provide a solution for it.
-
Why Schedulers and How Rxjava internally works with them?
SusbcribeOn vs ObserveOn, Schedulers on which both of these work?
.subscribe(new Subscriber…) vs .subscribe(new Observer…)
-
IOScheduler/new Thread Scheduler in RXJava
-
How dagger internally worksDagger vs Dagger2? Explain the purpose of every annotation taken in Dagger2.
-
How do you decide scope in Dagger? Why Qualifier annotation?
-
Why do we use Handlers? Do you know the Loopers? What’s the role of Message queue? With this, they will go for Main Thread working. They wil