Snackbar source code parsing

Introduction In May 2015, Google released Design Support Library, adding many components to support Material Design. It has been two years since then, and the version has changed from 22.2.0 to 26.0.0 Alpha 1. To understand the principle of control implementation, of course, from the simplest start, that is the main character of this arti ...

Added by flyersman on Tue, 09 Jul 2019 23:51:53 +0300

Usage of Alert Dialog, a common instance of Android

Usage of Alert Dialog, a common instance of Android AlertDialog is widely used in applications where you want users to make "yes" or "no" or a wide variety of other choices, in order to keep the same Activity and not change the user's screen, you can use AlertDialog. Code Address https://github.com/Jue ...

Added by Mucello on Tue, 09 Jul 2019 20:00:43 +0300

Using AspectJ to Implement Non-intrusive Embedding Point at Android End

Preface Recently, in the project, there is a need to collect user behavior through buried points. Because the project runs in the LAN, and there are some very detailed requirements, after comparing several technical schemes, we choose to bury points through AspectJ. This paper mainly introduces the author's summary of learning and using AspectJ ...

Added by mysterio2099 on Tue, 09 Jul 2019 02:37:48 +0300

Summary of Three Methods of Using HttpsURLConnection

Recently encountered network security problems, to transfer http to https, because the use of HttpURLConnection in the project, so the corresponding use of HttpsURLConnection, of course, most of the results of some predecessors on the reference network, the process also encountered some pits, here to summarize. Since https involves certificat ...

Added by binarylime on Tue, 09 Jul 2019 01:24:04 +0300

Number Running TextView

For reprinting, please indicate the source: http://blog.csdn.net/chay_chan/article/details/70196478 Introduction to NumberRunning TextView Number Running TextView is a TextView with its own digital scrolling animation. By using setContent(String str) method, the corresponding amount of digital string (such as "1354.00") or digital ...

Added by mickeyunderscore on Tue, 09 Jul 2019 01:17:49 +0300

Initial Exploration of Taobao atlas Framework atlas-core(2): Bundle Plug-in

Last article< A Preliminary Study of Taobao Atlas Framework Atlas-core (I) > We studied the modular apk: bundle system of Taobao, and the hook system of bundle system. In this article, we will continue to study the plug-in of the four components of the atlas framework. In the first analysis, we learned that the bundle architecture was r ...

Added by drtanz on Tue, 09 Jul 2019 00:54:09 +0300

The perfect match between GreenDao and ReactiveX

For reprinting, please indicate the source: http://www.cnblogs.com/cnwutianhao/p/6719380.html    As an Android developer, you must not be unfamiliar with Green Dao and ReactiveX. GreenDao Android's fastest relational database ReactiveX Rx is a programming model that aims to provide a consistent programming interface to help developers handle a ...

Added by RON_ron on Tue, 09 Jul 2019 00:32:52 +0300

Lock screen page sliding control

First look at the results to be achieved:Link AddressThis is the effect of my actual development of a project. Here I just extract the sliding control of the lock screen page. In fact, the other effects of the sliding control are easy. The sliding control is the key point. Dead work Android There are still a lot of knowledge points about the po ...

Added by eyespark on Mon, 08 Jul 2019 23:41:26 +0300

VII. Broadcasting Details

1. Why do we need broadcasters? Broadcasting in life: Radio: to send a certain channel of radio messages, 50 mhz; Radio: adjust to a certain channel to receive broadcast messages; Radio in android applications: A service built into the system that sends events (insufficient power, full power, start-up) as a broadcast message to other recip ...

Added by jjrosen on Mon, 08 Jul 2019 23:33:37 +0300

VIII. Detailed Service

1. Service and process priorities 1.1 What is a service? windows services: no interface, long-running applications in the background; android services: a component of the application, no interface activity, long-term running in the background; Process: It is the carrier of application running. The relationship between processes and appl ...

Added by nmal on Mon, 08 Jul 2019 23:00:19 +0300