After reading this article, we can solve 90% of the memory exception problem in APP.
Why do we optimize memory
The. java file we write in Android will eventually be compiled into. class file. After class is loaded by class loader, a meta-information object describing class structure will be formed in JVM. Through this meta-information object, we can know the class structure information (constructor, attribut ...
Added by kelly001 on Wed, 07 Aug 2019 13:24:17 +0300
Android Network Request 4--Parsing Retrofit Source Code
Articles Catalogue
1. Introduction to Retrofit
2. Retrofit usage (asynchronous)
2.1 Adding Dependencies
2.2 Adding Network Permissions
2.3 Create a class for receiving server to return data
2.4 Create an interface for describing network requests
2.5 Create Retrofit instances
2.6 Creating an Example ...
Added by Alanmoss on Tue, 06 Aug 2019 12:53:25 +0300
Access Flutter in Android Project and use Android Layout in Flutter
Start
In flutter development, there are always two unavoidable problems:
The migration of native projects to flutter requires access to flutter in native projects
In order to use some mature applications in flutter project, it is unavoidable to use various mature libraries, such as audio and video.
In this article, we will introd ...
Added by g-force2k2 on Tue, 06 Aug 2019 11:17:01 +0300
# Android Notes #Android Animation Summary Attribute Animation
Limitations of View (Fill-in) Animation
The view animation has been introduced in two previous articles. In fact, we can also find that the complementary animation only applies to simple animation effects and it only completes the display of animation effects, and it can not change the attributes of ...
Added by blen on Tue, 06 Aug 2019 06:23:05 +0300
react-native custom alert/dialog/toast pop-up window | bionic android/ios pop-up window component
Preorder
Whether on the web or in native Native applications, pop-up window usage scenarios can be seen everywhere, and the quality of pop-up window UI design largely determines the user experience.Such as WeChat and Alipay, the pop-up window interaction is easy to operate and comfortable to use.
Explain
Mobile phone pop-ups have been developed ...
Added by perrohunter on Tue, 06 Aug 2019 05:25:08 +0300
Android Encapsulates Rxjava2+Retrofit Perfectly
I learned the basic usage of Rxjava and Retrofit last year, but I haven't used them in actual projects.Starting a new project this year, we decisively introduced RxJava and Retrofit into the new project.This article describes the author's encapsulation of Retrofit in the project.Let's first see how Retrofit works after encapsulation.
RetrofitH ...
Added by celebx on Tue, 06 Aug 2019 04:13:25 +0300
Detailed usage of four Andriod layouts
Strongly Recommend Articles: Welcome to CollectionAndroid Dry Goods Sharing
Read for five minutes, ten o'clock a day, and study with you for life. Here's Android, a programmer.
This article mainly introduces some knowledge points in Android development. By reading this article, you will gain the following contents:
Linear Layout Linear Layo ...
Added by nikkio3000 on Mon, 05 Aug 2019 14:15:01 +0300
Best Practice of Continuous Integration of flutter Hybrid Engineering
1. Introduction
This article focuses on some specific implementations of Flutter's direct dependence on relief in Flutter hybrid engineering.
2. Thinking
Because the current idle fish is a mixed development mode of Flutter and Native, there are some students who only do Native development and are not familiar with Flutter technolog ...
Added by kpasiva on Mon, 05 Aug 2019 11:34:16 +0300
Android Hook tells you how to start unregistered Activeness
Preface
Android Hook plug-in is actually not a new technology. I wonder if you have ever thought that the software of Alipay, such as panning tickets, train tickets and so on, is written by Alipay software itself. It can not be written for ten years, and the software reaches dozens of G, but it does ...
Added by Orpheus13 on Mon, 05 Aug 2019 11:06:57 +0300
Service Use Details
Strongly Recommend Articles: Welcome to CollectionAndroid Dry Goods Sharing
Read for five minutes, ten o'clock a day, and study with you for life. Here's Android, a programmer.
This article mainly introduces some knowledge points in Android development. By reading this article, you will gain the following contents:
Introduction to Service
O ...
Added by cool-palace-ceo on Mon, 05 Aug 2019 10:02:10 +0300