2018 Android interview latest real questions to share

Since the end of last year, it hasn't been too much of a good opportunity for android, but fortunately, there are still some interview opportunities for the 3 years + android development experience, but it is not as low as the threshold a few years ago. It is the small start-up company that pays more attention to whether your project experience is in line with your own, and it can directly come to the individual side. In addition to the fancy project experience, Dachang also pays more attention to the breadth of your knowledge. It is the breadth, depth, and solutions of many aspects of inspections. Usually enough work to accumulate temporary problems, only to talk about the point of fur, it is estimated that it is too close. .

2018 Android interview latest real questions to share

The following summarizes some of the problems encountered, all kinds of styles have. Here are the questions first.

Interview Zhenti

And coordinates hz, the name of the plant letter, guess. This topic does not guarantee that you will encounter the same problem. According to the position and the interviewer's own situation, the problem may be very different. For example, the middle class students are asked about the details of the hot repair and so on. In general, Ali's interview is very formal, from the android foundation to a certain degree of understanding of summative issues, and then return to the java basis and principles, mainly focusing on the resume, or from the resume divergence problem, the problem will be Gradually, it's time to examine the understanding of the project you are responsible for and the principles of knowledge used in it. Because it is based on memorizing postscripts, the following questions are in no particular order. Classified by position here, it can have a gradual feeling.

One.tb: Electrical surface one

What is dp, sp, what is the difference

Custom View, ViewGroup pay attention to those callbacks?

The reason for the interface carding and how to solve it

Android storage type

Service used, basic call method

Handler mechanism

LinearLayout, FrameLayout, RelaTIveLayout performance comparison, why

AcTIvity's life cycle, the other life cycle after the finish call will go?

FW layer familiar with it, source code seen it

Are you familiar with the GC recovery mechanism?

Java class loading principle

How to check memory leaks, MAT analysis methods and principles, what are the causes of various leaks?

Why Handler leaks

Are you familiar with gradle?

Introduce the first app architecture and communication

Which modules are you responsible for and what are your strengths compared to your colleagues?

What was the most impressive question I encountered and how to solve it

On-site interview: three

First:

What have you done recently?

What was the most impressive question? A: Will follow the project you introduced to ask for concrete implementation.

Is there a rich text for push messages?

What does hot repair know and use?

Apk packet size restrictions? How to reduce the packet size?

What tools have you used or written in your work? Scripts, plug-ins, etc.

For example: a multi-person collaborative development may have a separate copy of some of the same resources, is there a way to automatically detect such duplicates and the like?

Have you written the naTIve code?

Are you familiar with the drawing of the view?

Gc related algorithm

Anr is because of what happened, how to troubleshoot

On the interface, what optimization measures are there, such as list display and the usual memory problems, how to optimize?

What design patterns are used in peacetime?

Second:

Introduce what has been done in the most recent year

Ask questions about the outstanding skills on your resume:

For example: the specific steps of audio synthesis, as well as some problems and details encountered.

According to the interview divergence of some questions, asked, after the seek method is played back to the end of the replay there will be a number of Caton's not smooth issues, how to avoid, from the interaction design or technical point of view. (Individuals don't pay much attention to this).

How many people in the project team, how to assign work

How are the threads communicating?

What is the architecture of the app and why and what are the advantages and disadvantages?

Is the algorithm familiar? Given a binary sort tree, an algorithmic problem is found for a given node to find its next element (referring to the next in order of magnitude).

Why are you looking for a job? What are your strengths?

Third:

Technical issues are no longer limited to resumes and may be gradually and diffusely based on resumes and responses.

Feeling that various technical interviewers did not communicate before and may ask similar questions

Introduce your main job

What are the lifecycles of AcTIvity and what does it know about onRestart?

savedInstanceState knows what to do, when it has value, when it is empty, what is usually used

View draw familiar, under the introduction, can be said to achieve the principle?

What development tools and analysis tools are used in peacetime?

ANR is how is it? How to check? Service will cause ANR?

What are the start modes of the activity? The stack is ABC, first directly to A, BC are cleaned up, there are several ways to do it? The result of these several methods is that there are several instances of A?

What tools can see the Activity stack information? Multiple stack words, there are methods to get each stack's Activity list?

What commands are you familiar with? Know how to start an Activity with a command?

What is the difference between SharedPrefrences apply and commit

What did you see with the $ function in java?

MD5 is the encryption method, Base64 does

What are the main blog posts and github?

What's new in android 8.0

It's almost like this. . In the end, each interviewer asks you to ask him questions.

two.

Glide cache strategy? The same picture with size

What are the animations in android

View event delivery mechanism

How to troubleshoot and optimize the interface card?

Fragment replace and end?? The difference?

MVP, MVVM, MVC Interpretation and Practice

Outside the project, insights on technology, knowledge expansion

Two sides:

Wechat jump hop how to achieve, detect how to do?

How to effectively detect each rectangle under a solid background?

Docking so algorithm to understand what, have contact with the relevant library?

Select one of the three algorithms and write a test case: print all the prime numbers between nm; calculate the number of occurrences of 1 between nm; specify the order of the number sequences;

Android api layer source familiar with what? Explain

When ACTION_CANCEL is triggered, touch the button and then swipe to the outside to trigger the click event, and when + + slides back to lift it?

How to deal with nested View sliding conflicts

Hot repair related principles, framework familiar with it

Gradle packaging process familiar with it

Any questioning session: In fact, you can ask questions that were encountered during the previous interview: For example, when multiple modules are developed, different responsible persons may introduce duplicate resources, the same string, the same icon, but the file name is not the same, how to go weight?

Three.NetBase:

Canvas's underlying mechanism, drawing framework, what is the principle of hardware acceleration, canvas buffer is how the matter

Surfaceview, suface, surfacetexure, and related, and underlying principles

Android file storage, the evolution of access control for each version storage location, external storage, internal storage

What pits and optimization experiences on the page display are encountered in the upper business activities and fragments

An open source framework for web requests: OKHttp introduced, interceptors written

Four. Netbase: AI

Does the data layer have unified management, how does the data cache do, and does the http request provide unified management?

What model is useful? What logic is in the Activity layer? How is it separated?

If you use some decoupled strategies, how to manage the life cycle?

Is there any way to increase the compilation speed?

Is there a unified management of the threads in the application?

Jni algorithm is provided by the main thread? Is it right? Want to ask the service class ah

Do you know about edge learning?

After the app performance analysis and testing on the line

V.yz:

Inter-process communication methods? What are the components of Binder?

The difference between HttpClient and HttpConnection

View's event delivery mechanism

What are MVC, MVP, and MVVM?

Android commonly used design patterns, said three more advanced?

Memory Optimization, OOM Reasons and Troubleshooting Methods

Want to change the height of the listview, how to do

What is Https?

In addition to day-to-day development, what else has been done? For example, continuous integration, automated testing, etc.

DiDi: More comprehensive

ActivityA jumps to ActivityB and then B presses back to return A. The sequence of their life cycle, A and B are both opaque.

The Synchronize keyword is followed by what is the difference between the class or object.

Singleton DCL mode, the singleton private variable should not add volatile keyword, what is the use of this keyword

JVM reference tree, what variables can be used as GCRoot GC garbage collection methods

What is ThreadLocal? Messages in Looper Why isn't ANR?

Android main method entry where

The data structure of jdk1.5?SparseArray and ArrayMap, the former is how to find

The difference between implementation and HashMap

What is the difference between Runnable and Callable, Future, and FutureTask? Which AsyncTask does it use? AsyncTask is executed in sequence. There are 200 executions of new AsyncTask and execute in the for loop. Is there an exception?

What is the life cycle of IntentService, use occasions, etc.

What is the difference between RecyclerView and ListView? Partial Refresh? How to avoid sliding Caton when using multiple types in the former? How to achieve lazy loading, how to optimize the sliding experience.

SQLite database upgrade used?

Open Issues: If you increase the startup speed, design a method and attention problem that delays loading the framework or sdk.

Scroller what method, how to use.

Share problems encountered in the next project

Webwiew understand how to achieve and javascript communication? mutual communication. @JavascriptInterface has a bug in the ? version, in addition to this there are other programs that call the android method?

How much does ReactiveNative know?

Are JNI and NDK familiar? How do you call each other before Java and C methods?

Suggestions

Responsibility should be written truthfully, and the relevant knowledge must be familiar with the heart.

Solid foundation, android and java related knowledge tree has a lot of information on the Internet, seen but let you speak out may not be able to say good.

To summarize in advance, what other technologies are you good at? This open question depends on knowledge.

Learn to ask questions, what questions do you have to ask me? This polite question is also a good opportunity to understand each other.

Have a good heart, no matter what happens, the interviewer is late, the interviewer's attitude is icy and you do not question his answer, etc. Do not panic nor reject, must be calm, patient and positive thinking and answer the other party Questions.

Recommend a few books, but also after several interviews found that it covers most of the answers. "Android development art exploration" "Android source code design mode - analysis and actual combat" "Android Advanced Light" "depth understanding of the Java virtual machine", see several times.

Dachang's interview process is relatively long, and the interview is a full-scale test. If you want to change jobs, it is best to prepare in advance.

SATA 15P Connector

Sata 15P Connector,Sata Computer Connector Socket,Sata Disk Connector,Sata Hard Disk Connector

Dongguan ZhiChuangXing Electronics Co., LTD , https://www.zcxelectronics.com