The easiest to understand series of custom View principles (1)

From here Preface Custom View principles are the foundation Android developers must understand. Before you can learn about custom View s, you need to have a certain knowledge base; This article will provide a comprehensive overview of all the knowledge bases in Custom View. 1. Classification of Views ViewViewViews are divided into two m ...

Added by wholein1 on Thu, 20 Jun 2019 23:56:36 +0300

Butter Knife is used in detail

http://blog.csdn.net/johnny901114/article/details/52662376  I. Overview JakeWharton I want to be in Android No one knows, no one knows. ButterKnife This framework is from his own hands. This framework I believe many people have used, this series of blogs is to bring you a deeper understanding of the framework, ButterKnife has so far ...

Added by cr-ispinternet on Thu, 20 Jun 2019 05:36:35 +0300

Summary of Android Sequencing Learning

The main functions of serialization are: 1: Permanently save the object, save the byte sequence of the object to the local file; 2: Transfer objects through serialized objects in the network; 3: Transfer objects between processes through serialization. 2. There are two kinds of serialization in Android: Serializable and arcelable. 1: Seria ...

Added by Scorptique on Thu, 20 Jun 2019 04:33:07 +0300

Android implements background services using JobService

Preface Android often implements timing services, pushing messages or updating data at a certain time. Generally, we may open the service, use Alarm Manager and setRepeating timing requests in Service, but since API 19, it can not guarantee the accuracy of the timeliness. After 5.0, Google launched a JobService to execute some background proc ...

Added by jrinco11 on Thu, 20 Jun 2019 04:16:04 +0300

ScrollView Nested ListView Display Incomplete

I believe that many android developers will encounter ScrollView nested ListView in the previous development, ListView will only display one, when the development, only to find out how to solve the problem online, not to find out why only one, recently when looking at a Daniel's information, listen to him to know the reason, so record here; S ...

Added by willc on Thu, 20 Jun 2019 02:46:36 +0300

ViewPager+Fragment+Page Transformer to achieve 3D, parallax and other animation effects (thunderstorm)

Technology is something that needs to be accumulated over time, learning a little new things every day, and reviewing the old things. Only in this way, if you persist for a period of time, your ability can be improved. It is not that you check when you use it, but that you pay more attention to discovering new things to study and discovering wh ...

Added by roze on Thu, 20 Jun 2019 02:21:06 +0300

Event Distribution Mechanism of Android Custom View (I)

Event Distribution Mechanism of Android Custom View (I) Say what I said before. In the development, we write a custom control, an inescapable topic is event distribution. And this is also the most common interview question in an interview, but I found that many interviewers even answer this question vaguely. Not knowing why it is so. ...

Added by caaronbeasley on Wed, 19 Jun 2019 22:15:49 +0300

Android Timer, CountDownTimer, Alarm Manager

First, Timer TimerTask Reference resources Timer in Java and TimerTask in Android In development, we sometimes have the need to perform a task at regular intervals. For example, controls on the UI need to change over time, and we can use Java's timer toolkit, timer and TimerTask. Timer is a common class, which has several import ...

Added by roberts78 on Wed, 19 Jun 2019 00:51:44 +0300

Simple analysis of Butter Knife source

1. Introduction to Butter Knife Butter Knife is an open source dependency injection framework that primarily serves as a syntax sugar effect, such as Button button = (Button) findViewById(R.id.button);, which can be simplified to @BindView(R.id.button) Button button;. Here Obviously, you can see that this is done with annotations. As to whether ...

Added by kroll on Tue, 18 Jun 2019 20:42:25 +0300

Android pedometer module (similar to Wechat movement)

Recently, the step counting module was studied in the project. It began to record the steps of the day at 0 o'clock every day, which is similar to the Wechat movement. Many pits have been encountered. Today, I have time to sort them out for you to see.Before doing this, we searched google, baidu, github and found no good ones. Most of them need ...

Added by Script200 on Mon, 17 Jun 2019 23:42:14 +0300