This section focuses on the use of AIDL and ContentProvider
4.4 Use of AIDL
In the previous Messenger process communication, if the client has a large number of messages to send to the server, then the server can only process one by one, so it is not a good way to use Messenger when dealing with large data. We can use AIDL to achieve cross-p ...
Posted on Wed, 27 Mar 2019 02:06:29 -0700 by subesc
The sky was clear as a wash, and the brilliant sunshine was shining through the cracks of the dense pine needles, forming a bunch of thick and thin pillars of light, which illuminated the shade of the trees with the mist of light yarn.
Lu Xun's Picking Up Flowers at Night
Last time we ta ...
Posted on Tue, 26 Mar 2019 19:45:29 -0700 by Irap
Android ViewGroup Touch Screen Event Delivery Mechanism and Source Code Analysis
In Android, whether it's View or ViewGoup, touch events start with dispatch TouchEvent, where dispatch TouchEvent () is View.java's method, and ViewGroup just rewrites this method.
Before looking at the dispatch TouchEvent () of ViewGroup, it's better to l ...
Posted on Tue, 26 Mar 2019 19:39:30 -0700 by cassius
Recently, I need to do a function of area selection, but I haven't found a satisfactory one on the Internet and github for a long time. Then my friend recommended one to me. I spent some time to read the code roughly and change it to what I want, and write down my understanding. The effect is as follows:
2. pay attention to
Posted on Tue, 26 Mar 2019 17:45:30 -0700 by Bizzle
Normally, without this empty constructor, there would be no big problem. But when the system memory is insufficient, app is in the background condition, memory will be recycled by the system, then the user will switch app to the foreground, and the system will re-instantiate the previously recycled content.
This process is implemented by the ...
Posted on Tue, 26 Mar 2019 15:36:28 -0700 by msaz87
For reprinting, please indicate the source: http://blog.csdn.net/evan_man/article/details/51570466
Recycler View has been playing a trick recently. Today, when I have nothing to do, I will sort out the information I collected before and the experience in using it, and write the following blog. The structure of the blog is similar to that ...
Posted on Tue, 26 Mar 2019 15:06:30 -0700 by adsegzy
Yesterday, a couple of little friends wrote to me and asked me how to hook View.onClick. Recalling that a few months ago, the company's project was launched by Baidu Mobile Assistant, and it would jump twice Activity or two Dialog s when clicking fast. In order to pass Baidu's test smoothly, the boss called me to optimize all onClicks to avoid ...
Posted on Tue, 26 Mar 2019 14:27:28 -0700 by giraffemedia
Exploring the Difficulties of Android Soft Keyboard Deep Exploration of Android Asynchronous Essence Handler Detailing the indispensable cornerstones of Android's mainstream framework Stand on the shoulder of source code and fully understand Scroller's working mechanism
Android Multiresolution Adaptation Framework (1) - Core Foundation And ...
Posted on Tue, 26 Mar 2019 11:33:29 -0700 by anthonyfellows
Because there are many channels in the domestic Android market, in order to count the downloads and other data statistics of each channel, we need to pack them separately for each channel. If you can pack dozens of market bags, it's not boring, but with Gradle, it's no longer a problem.
Multi-channel Packaging of Alliances
Not much nonsense. ...
Posted on Tue, 26 Mar 2019 07:00:30 -0700 by DavidAM
ViewPager adapter learning record (page adapter and FragmentPager adapter/FragmentStatePager adapter)
ViewPager, as its name implies, implements the scrolling function of the control. It is the package class of Support-v4. It needs a pilot package before it is used. It's similar to listView in that you need to set up adapters, u ...
Posted on Tue, 26 Mar 2019 05:21:28 -0700 by Mark Baker