Pages

Android Interview Question For Senior Android Developer

                             Android Interview Question

Interview question for Senior Android Developer:

So if you are going to give an interview for senior Android developer as an experienced level,
definitely, you will face the question like

2- added question according to your experience

To Prepare the Questions from basic to high level-

Here are the Questions for the experience level person,

Before this Please read out below post and brush up the mentioned topic first

*** Java:***
Prepare content suggested above and after that prepare this as well.
Keep in mind Core java will play very important in every Interview.
so add these points with the above point.
  • Runnable vs Thread, the Basic difference between these two
  • If Java already have threads/multi-threading Architecture than why Android needs to implement Handler
  • What is Yarn, Join function. Sleep() vs Wait() in Threading (Usually asked in all companies)
  • Why wait(), notify(), notifyAll() method put in Object class.
  • How can you implement Synchronization?
  •  Object Level lock vs Class Level Lock.
  • Thread Pool Executor (Must study if not heard of this).
  •  Explain ArrayBlockingQueue?

***Activity And Fragment:***
  • Activity life cycle(prepare complete scenario)
  • What is Fragment
  • Fragment life cycle
  • difference between activity and fragment
  • Explain Activity Life Cycle and Most Importantly What will be the Life cycle (In Order) If Activity B is Launched from Activity A.
  • Why to use setContentView() in onCreate() callback method?
  • LaunchModes in Android. What is onNewIntent (Very very important to understand it)
  • Why it is recommended to use Default Constructor to create a Fragment
  • Explain Fragment Life Cycle, How the Activity Life cycle and Fragment Life Cycle gets called In Order, RetainInstanceState in Fragment
  • Fragment Add vs Fragment Replace, Explain with using Backstack and Without using backstack
  • Activity Life cycle when Dialog is opened — (hint:- Don’t get confused b/w system-generated Dialog and your own app dialog)
***Content Provider:***
  • Explain Content Provider, What is Scheme? How can an Application Access database of another Application
***Broadcast Receiver:***
  1. What’s Static and Dynamic Broadcast Receiver, What’re the changes Introduced in Latest version of Android regarding broadcast Receiver 
  2.  Local Broadcast Manager
***Service:***
  • On Which Thread Services Work? What are the Changes and Limitations introduced in the latest version of android regarding Services
  • Services vs Intent Services 
  • Foreground Services and Background Services, Work Manager Role
  • How Work Manager, Job Intent Service, Alarm Manager, Firebase Dispatcher are correlated, Which to use when

***MVVM Design Pattern***
  • Design Pattern vs Architecture? Explain MVVM Design Pattern
  • MVVM vs MVP Design Pattern (Nowadays MVI Design Pattern too)
  • How ViewModel save Instance of UI? What’s the Role of Live Data in it, How Live data is different from Observer-Observable Pattern
  • How UI state is managed with ViewModel, savedInstanceState, and Database?
  • How to pass data in ViewModel constructor (hint:- ViewModel Factory)
  • LiveData vs Mutable Live Data vs Mediator Live Data
  • Map vs Switch Map in LiveData
  • How will you write your own ViewModel if Android ViewModel is not there
  • SharedViewModel, How to use it in Master-Detail kind scenarios for Fragment communication 
***Dependency Injection:***
  • What is DI mean?
  • Why the developer should have to use DI.
  • And for now, Dagger-2 is a very famous, well defined, designed, Compile-time DI, used among the world-class developer, so prepare this as well.

***Rx Java:***
  • Explain RxJava? What are Observables and Observers?
  • Operators in RxJava. Map vs FlatMap in RxJava
  • Subject in RxJava?
  • How to Implement Own EventBus by RxJava
  • How to implement Searching by RxJava

***Extras:***
  • ViewBinding vs DataBinding in Android, What is Binding Adapter? What’s the use of data tag in XML
  • Types of Intent
  • What is Dagger in Android? Implement own Manual Dependency Injection without Dagger, What is Module and Submodule in Dagger
  • Build Type in Gradle? Explain Flavors in Gradle
  • Handler, Looper, Handler vs HandlerThread
  • Intent, Sticky Intent, Pending Intent. Purpose of Category in Intent

Special Note:
Please be expert in the task that you have been done in previous projects.
Surely this question will ask by the interviewer that what you had done in the previous project, and what skill you learn from there.

If You are fresher Follow this link to get Questions designed according to the fresher level.

That's all.

*********************************************************

No comments:

Post a Comment