当前位置:网站首页>Android development interview real question advanced version (with answer analysis)
Android development interview real question advanced version (with answer analysis)
2022-06-30 12:38:00 【Code is not hard to write】
Android Development is not as popular as it was a few years ago , But in the age of artificial intelligence , Senior talents are always in short supply . The level of interview related articles of senior Android development engineers on the network is uneven , Or complicated , Or the quality is too poor . In view of this , I compiled an article Android Develop interview questions and answers , Mainly for senior engineers .
I am currently working in a large factory Android Senior engineer , I have been interviewed by many big factories , For many years Android Development experience , This article is also based on my own experience , Combined with the interview articles in recent years , I hope it can better help you understand and consolidate your knowledge points .
One 、Android True questions and answers
Android Components
- Activity relevant
Startup mode and usage scenarios ?
onNewIntent() and onConfigurationChanged()
onSaveInstanceState() and onRestoreInstanceState()
Activity How did it start
Startup mode and usage scenarios
Explain the scene in detail and some pits
onSaveInstanceState as well as onRestoreInstanceState Use Simple and transparent
onConfigurationChanged Use and problem solving A comprehensive description of the various situations
Activity Start process resolution
- Service relevant
Process keeping alive
Service Running thread of ( Life cycle methods are all in the main thread )
Service How to start and how to stop
ServiceConnection Which thread does the callback method run in ?
startService and bingService difference The difference between them is explained completely
The process keeps the general routine alive I explained all the means to keep the process alive
Everything you need to know about process assurance 10 ten thousand + Article on process preservation
Fragment
Fragment Life cycle and Activity contrast
Fragment How to communicate with each other
Fragment Of startActivityForResult
Fragment Overlapping problems
Fragment On
Fragment overlap , How to communicate
Fragment Life cycle
Handler Related knowledge , The interview will be asked !
What I often ask :
Handler Looper Message What is the relationship ?
Messagequeue What is the data structure of ? Why use this data structure ?
How to create Handler?
Handler post Methods the principle ?
Android The principle of message mechanism and source code analysis Complete analysis from the perspective of source code
Handler I don't understand , What can I do to jump ?
Android Handler Message mechanism ( To solve the puzzle )
Android Message mechanism Guo Shen's article
Android Layout optimization
When to use ViewStub、include、merge? What are their principles ?
ViewStub、include、merge Concept of analytical
Android Layout optimization ViewStub、include、merge Use and source analysis
BroadcastReceiver relevant
Registration method , priority
The radio type , difference
Use scenarios of broadcasting , principle
Android Broadcast dynamic static registration Easy to understand
Common use and process analysis
Broadcast source code analysis
AsyncTask relevant
AsyncTask Is it serial or parallel ?
AsyncTask As the Android version changes
AsyncTask Complete resolution Guo Shen's article An article is enough From use to source
Serial or parallel
Android Event distribution mechanism
onTouch and onTouchEvent difference , Call to order
dispatchTouchEvent, onTouchEvent, onInterceptTouchEvent Method sequence and usage scenarios
Slide conflict , How to solve
Event distribution mechanism Produced by Guo Shen
Event distribution resolution Produced by Hongyang
dispatchTouchEvent, onTouchEvent,
onInterceptTouchEvent Method usage scenario analysis
Android View Drawing process
sketch View Drawing process
onMeasure, onlayout, ondraw What should be paid attention to in the method
How to customize View
view Redraw mechanism
Android LayoutInflater Principle analysis , Take you step by step to learn more about View( One )
Android View state and redraw process analysis , Take you step by step to learn more about View( Two )
Android View state and redraw process analysis , Take you step by step to learn more about View( 3、 ... and )
Android Customize View Implementation method , Take you step by step to learn more about View( Four )
Don't ask me why I recommend so many Guo Shen's articles , Because I grew up watching Guo Shen's article !
Android Window、Activity、DecorView as well as ViewRoot
Window、Activity、DecorView as well as ViewRoot The relationship between
Android At the heart of Binder Multi process AIDL
common IPC Mechanisms and usage scenarios
Why Android uses binder Cross process transfer
Problems caused by multi process
AIDL Use analysis
binder Principle analysis It's really good
binder The lowest level of parsing It's hard to understand. , I have read it several times, but I still know a general
Multi process communication and its problems
Comparison of multi process communication mode
Android Advanced essentials :AMS,WMS,PMS
This part is really complicated !
AMS,WMS,PMS The creation process
AMS,WMS,PMS Full resolution
AMS Start process
WindowManagerService Startup process analysis
PMS Start process resolution
Android ANR
Why does it happen ANR?
How to locate ANR?
How to avoid ANR?
What is? ANR
How to avoid and analyze
Android Performance optimization ANR Detailed explanation
Android Memory related
Be careful : Memory leaks and overflows are 2 A concept
When will memory leak ?
How to prevent memory leaks ?
The difference between memory leak and overflow
OOM Concept and Android memory management mechanism
The possibility of memory leaks
How to prevent memory leaks
Android Screen adaptation
The definition of screen adaptation
Popular screen adaptation
Screen fit terms and concept analysis
Today's headline technology adaptation program
Android Caching mechanisms
LruCache Using the extreme principle
Android Caching mechanisms
LruCache On the principle of application
Android performance optimization
How to do Memory cpu Power consumption Positioning and optimization of
Performance optimization is often used
How to avoid UI Carton
I'm watching geek time Android Development master class , The performance optimization articles inside are good
Performance optimization full resolution , Tool use
Performance optimization best practices
Zhihu highly praises the article
Android MVC、MVP、MVVM
There are several that I should choose ? Advantages and disadvantages
Ren Yugang's article :
Design pattern selection
Android Gradle knowledge
These two official articles are good enough
You have to post official documents : The build
Gradle Tips and tricks
Gradle plug-in unit Understanding is good.
Gradle Custom plug-in mode
Fully understand Gradle - Execution sequence
Gradle A series of
Gradle Series two
Gradle Series three
RxJava
Using process , characteristic , Principle analysis
RxJava Nouns and how to use them
Rxjava Analysis of the principle of observer pattern
Rxjava Subscription process , Thread switching , Source code analysis series
OKHTTP and Retrofit
OKHTTP Complete parsing -- Produced by Hongyang
Retrofit Usage flow , Detailed explanation of mechanism
from HTTP To Retrofit
Retrofit How it works
The most popular image loading Library : Glide
Guo Shen series Glide analysis
Android Image loading framework is the most complete analysis ( One ),Glide The basic usage of
Android Image loading framework is the most complete analysis ( Two ), From the perspective of source code Glide The implementation process of
Android Image loading framework is the most complete analysis ( 3、 ... and ), In depth exploration Glide Cache mechanism
Android Image loading framework is the most complete analysis ( Four ), Get along well with Glide Call back and monitor
Android Image loading framework is the most complete analysis ( 5、 ... and ),Glide Powerful image transformation function
Android Image loading framework is the most complete analysis ( 6、 ... and ), To explore the Glide Custom module function of
Android Image loading framework is the most complete analysis ( 7、 ... and ), Achieve with progress Glide Image loading function
Android Image loading framework is the most complete analysis ( 8、 ... and ), Give you a comprehensive understanding of Glide 4 Usage of
Android Componentization and plug-in
When the business is large and there are many codes, we will use
Why use componentization ?
How components communicate with each other ?
How to jump between components ?
Android Plug in and hot repair knowledge carding
Why use componentization
1、Android The practice of complete componentization
2、Android Completely componentized demo Release
3、Android Completely componentized - Code and resource isolation
4、Android Completely componentized —UI Jump to upgrade
5、Android Completely componentized — How to use Arouter
Plug in framework history
In depth understanding of Android Plug in technology Alibaba plug-in technology
Android Plug in and hot repair knowledge carding
———————————————————————
Two 、 Common non-technical problems
In addition to the Android advanced technical problems sorted out above , There are also some questions that interviewers like to ask , Everyone is ready to answer :
- What difficulties have you encountered in the project ? How to solve ?
- Recently do APP How is it structured ? Why do you want this architecture ?
- How to learn by yourself at ordinary times 、 Advanced technology ?
- What technical level do you think you are at ?
- What are your technical advantages ?
Second and more important Sometimes it's normal for an interviewer to ask you questions if you don't , It is impossible for us to understand all the problems , But we must have the necessary thinking process , The process and method of solving problems are the most important in the workplace , Not the result ! This is also what the interviewer likes to investigate most .
So much for the time being , The main Android technology issues They are quite perfect , Algorithm and java I will keep updating the basic questions .
notes : author : Yuege investment notes , Link to the original text (https://juejin.cn/post/6844903797270003719)
Last
At the end of the article, I put a small welfare for you , Scan the qr code below :
There are many technical bulls in the group , Any questions , Welcome netizens to communicate with us , The group has not regularly shared high-level free of charge Android Learn video materials and interview kits ~
Say something in secret : Experts in the group are like clouds , Welcome to join the group and discuss with the big guys !
边栏推荐
- 【一天学awk】内置变量的使用
- 90.(cesium篇)cesium高度监听事件
- RDS MySQL数据迁移PolarDB MySQL费用可以转过去吗?
- Double dqn notes
- [cf] 803 div2 A. XOR Mixup
- 海思3559萬能平臺搭建:獲取數據幀修改後編碼
- Redis - problèmes de cache
- Iserver publishing es service query setting maximum return quantity
- “\“id\“ contains an invalid value“
- Google refutes rumors and gives up tensorflow. It's still alive!
猜你喜欢
Understanding and learning of MySQL indexing and optimization
【一天学awk】基础中的基础
What is the principle of spectral confocal displacement sensor? Which fields can be applied?
MySQL built-in functions
How to use the plug-in mechanism to gracefully encapsulate your request hook
Hisilicon 3559 developing common sense reserves: a complete explanation of related terms
List collection
【一天学awk】内置变量的使用
QT MSVC installation and commissioning
Vision based robot grasping: from object localization, object pose estimation to parallel gripper grasping estimation
随机推荐
Dqn notes
QT implementation dynamic navigation bar
海思3559万能平台搭建:YUV格式简介
SQLSERVER 查询编码是 936 简体中文GBK,那我是写936 还是写GBK?
Essay: Research on smart home scheme
JMeter性能测试之相关术语及性能测试通过标准
Idea has a new artifact, a set of code to adapt to multiple terminals!
"Xiaodeng" user personal data management in operation and maintenance
Achieve secure data sharing among multiple parties and solve the problem of asymmetric information in Inclusive Finance
【一天学awk】内置变量的使用
Use of polarplot function in MATLAB
Charles打断点修改请求数据&响应数据
Talk about how to do hardware compatibility testing and quickly migrate to openeuler?
Google refutes rumors and gives up tensorflow. It's still alive!
SuperMap 3D SDKs_ Unity plug-in development - connect data services for SQL queries
Map collection
图解使用Navicat for MySQL创建存储过程
Pinda general permission system (day 7~day 8)
How difficult is data governance and data innovation?
Mysql中 begin..end使用遇到的坑