The interviewer also asked the Handler? Then I'll tell you a story

Come on, little brother, what's the matter with HandlerThere are too many blogs related to Handler, and there are a large number of random searches, but they basically post the source code and pose when they come up. It's not easy to understand the overall relationship and process in a short timeInterviewer, sit down and listen to my story?This ...

Added by Conjurer on Mon, 27 Dec 2021 12:24:53 +0200

Android interview performance optimization

For Android developers, it is often not enough to understand basic application development skills, because developers need to know a lot of performance optimization, whether in work or interview, which is very important to improve the application experience. For Android development, performance optimization mainly focuses on the following aspec ...

Added by newbienewbie on Mon, 27 Dec 2021 07:00:13 +0200

Retrofit magic, reject duplicate code!

Because the background returns a unified data structure, such as code, data, message; Students who have used Retrofit must have defined a category like BaseResponse, but the processing logic of BaseResponse is similar. It's really annoying to write every time. Is there any good way to solve this pain point? This paper introduces an elegant way ...

Added by amandas on Sun, 26 Dec 2021 21:19:48 +0200

Android basic summary data storage

Android provides five ways for users to save persistent application data. Make choices according to your own needs, such as whether the data is private to the application, whether it can be accessed by other programs, and how much data storage space is required, respectively: File storage dataUsing SharedPreferences to store dataSQLite databas ...

Added by traxy on Sun, 26 Dec 2021 09:34:02 +0200

The adaptation process of the previous life and the present life of the Flutter launch page

The APP startup page is the most common and necessary scenario in China. The startup page is a mandatory requirement on iOS. In fact, configuring the startup page is very simple, because in fluent, you only need:iOS configuration launchscreen storyboard;Configure windows background for Android;Generally, as long as the configuration is correct ...

Added by GYK on Sun, 26 Dec 2021 09:05:14 +0200

Chapter 8 use of mobile multimedia Notification for Android 8.0 and above

catalogue 1, Notice 2, To create a notification 2.1 get the notification manager first 2.2 create notification channel 2.2. 1 steps to create a notification channel 2.3 create Notification instance object 2.3. 1 to create a notification instance object 3, Advanced tips for notification 3.1 notified click events 4, Advanced features ...

Added by jacko310592 on Sun, 26 Dec 2021 08:25:24 +0200

Chapter 10 - Service s

It is suggested to think based on the downloaded cases, rely on the following knowledge points to the downloaded cases, and think about which knowledge points and principles are applied in the downloaded cases, which will be very well understood. catalogue 1, Service profile 2, Multithreaded programming in Android 2.1} basic usage of thread ...

Added by Impact on Sat, 25 Dec 2021 14:08:11 +0200

Android 11 adaptation package visibility

Android 11 package visibility adaptation 1, Package visibility description If the application takes Android 11 (API level 30) or higher as the target platform, by default, the system will automatically make some applications visible to your application, but hide other applications. By making some applications invisible by default, the sys ...

Added by Mutley on Sat, 25 Dec 2021 07:18:35 +0200

Android privilege free floating window component - FloatingX

FloatingX, a powerful privilege free floating window component, supports global and local floating windows. background During the business development in the past few months, we need to change the suspended window in our app. There are two common implementation methods of suspended window: The former is implemented by WindowManager after obt ...

Added by mapleshilc on Sat, 25 Dec 2021 02:23:58 +0200

Android dynamic rights management

preface: During the continuous upgrading of the Android system, the development of Android applications also has different changes. For permissions, Android 6 In systems above 0, runtime permission check is introduced. Runtime permission is divided into normal permission and dangerous permission. When our App calls an api requiring dangerous p ...

Added by snowrhythm on Fri, 24 Dec 2021 16:56:30 +0200