I am looking for a job recently. I will sort out the interview questions I have encountered.

Describe the launchMode in Android

  • A:

How to realize the floating button in a mobile game

  • A:

The principle of Retrofit

  • A:

The difference between ‘wait’ and ‘sleep

  • A:

What are annotations

  • A:

What control would you use to make a list, and how would you implement multiple layouts with that control

  • A:

Briefly describe the process of making jar libraries

  • A:

Memory leaks in Android

  • A:

What is UI stuck and how to solve it

  • A:

What design patterns are used in the work. For example

  • A:

The relationship between activities, Windows, and Views

  • A:

View drawing process

  • A:

View event distribution process

  • A:

Write a method for reordering and reordering data

  • A:

RxJava operator

  • A:

The difference between a memory leak and a memory overflow

  • A:

How is instant messaging implemented

  • A:

The difference between View and ViewGroup event listening

  • A:

View’s touch event flow

  • A:

Use ViewPager+Fragment? How to implement lazy loading? What are the real differences in Radiobutton+Fragment?

  • A:

ListView and RecyclerView how to implement caching, what is the principle?

  • A:

The singleton pattern

  • A:

Is the UI updated in the main thread or child thread

  • A:

RxJava thread scheduling

  • A:

Handler, Looper, and MessageQueue

  • A:

The animation of the Android

  • A:

What is ANR? What are the causes of ANR

  • A:

What are the ways in which services are registered and their life cycles

  • A:

Synchronization methods for threads

  • A:

Two modes of service

  • A:

Two ways of broadcasting

  • A:

The webView falls back to the last loaded URL

  • A:

How to implement countdown in ListView or RecyclerView

  • A:

The difference between processes and threads

  • A:

Object lock

  • A:

Ways to optimize performance (layout and memory)

  • A:

Ok, multithreading

  • A:

The paper IntentService

  • A:

The thread pool

  • A:

When is onPause called, when is onStop called, and why

  • A:

The difference between public, protected and private

  • A:

Anonymous inner class

  • A:

Event passing mechanism

  • A:

Which third party frameworks are used

  • A:

How is a thread-safe singleton implemented

  • A:

Has Okhttp been used? How do I submit GET and POST parameters

  • A:

Have you ever used AsyncTask? Briefly describes the

  • A:

In normal development, do you customize some views? Custom steps, why custom

  • A:

Know the MVP? Write a case by hand

  • A:

Implement a singleton. Why use a singleton

  • A:

Have you developed bluetooth, NFC type? Briefly describe the process

  • A:

Interprocess communication

  • A:

Do you know the two-process daemon? How do you do that, hand write a case

  • A:

Have you read the source code, read what, briefly describe the principle

  • A: