Custom View Header Scalable ListView

Recently, I read some video materials of Brain Engineering College. It is about realizing a LisView with scalable head by customizing View. It is not difficult to realize, and the idea is very enlightening. So I wrote a code according to the data and realized it. Because adding gif failed, add pictures. Normal state: Finger drop-down: ...

Posted on Sun, 30 Jun 2019 20:07:08 -0400 by delayedinsanity

One of Android Design Libraries

After using the Design package, I instantly feel that my APP is getting higher. Mom no longer has to worry about my personal App Design ugliness. Snackbar Snackbar can easily replace Toast. Implement a more elegant lightweight prompt function. Action s can also be set. At the same time, only one Snackbar can be displayed on the interface. Let's ...

Posted on Sun, 30 Jun 2019 18:48:54 -0400 by cedtech31

View drawing process, onMeasure

1. Overview This article is Chapter 4 of Android's Exploration of the Art of Development, and the following two blog learning notes http://www.cnblogs.com/yongdaimi/p/6164686.html http://blog.csdn.net/a396901990/article/details/36475213 The source code is Android N. Three main processes of view: measure, layout and draw 1. Measurement - on ...

Posted on Sun, 30 Jun 2019 18:09:37 -0400 by avickers

Backstage Statistics Preliminary Chapter

Recently, in response to market and product demand, the company has developed a background statistics project, whose main functions are similar to Baidu Statistics and Allied Statistics. Of course, as a mobile terminal, I mainly develop android applications based on java (that is, to develop into jar package import applications). Next co ...

Posted on Sun, 30 Jun 2019 17:42:37 -0400 by BrazilMac

Volley Source Parsing (3) - Network Dispatcher

In the last blog Volley Source Parsing (2) - Cache Dispatcher Cache Dispatcher is introduced. This blog will introduce Network Dispatcher. RequestQueue's start() method starts four Network Dispatchers by default, which are used to execute network operations on requests. NetworkDispatcher Network Dispatcher inherits from Thread, the corres ...

Posted on Sun, 30 Jun 2019 16:22:12 -0400 by mpar612

Android Custom Control Actual Warfare-PickerView Scroll Selector

  Android Custom Control Actual Warfare-PickerView Scroll Selector Reprinted please state the source http://blog.csdn.net/zhongkejingwang/article/details/38513301 Setting the alarm clock in the mobile phone needs to choose the time. The control to choose the time is the scroll selector. A few days ago, I brushed the MIUI with t ...

Posted on Sun, 30 Jun 2019 16:01:34 -0400 by auro

Android 5.0 Shared Element Animation Learning

Android 5.0 Shared Element Animation Learning Recently, I read some articles about sharing element animation on the Internet, and official Demo about sharing element animation, but I found some pits when I did it by myself. Here is also a small example, I hope to help the little partners who have not yet started to study, and quickly understand ...

Posted on Sun, 30 Jun 2019 13:25:10 -0400 by dustbuster

AIDL basically uses 1 - - calling the server-side method

Process concept Basic usage method Process concept: If you want to learn how to use AIDL directly, please skip here. Process: It is an independent unit of resource allocation and invocation in the system. Threads: Sharing resources allocated by a process, which depends on the process, is the smallest unit of execution of task ...

Posted on Sat, 29 Jun 2019 21:19:19 -0400 by ronniebrown

Practice of Taobao Open Source Library VLayout

Recently, Taobao has produced a vlayout. When I first read Taobao's documents, I was still a bit confused. Later, I summarized and planned it myself. I wrote a better demo. By the way, I summarized it here. What is VLayout? To put it plainly, it uses a native RecycelerView and VLayout to realize a more complex layout on a page and has a bette ...

Posted on Sat, 29 Jun 2019 20:58:14 -0400 by slough

Android ADB WiFi plug-in installation and command line links. Attachment: ADB Order Daquan

Recently, I was playing arduino, and I got Nano to communicate with my mobile phone through OTG line. But, the problem is, OTG occupies the usb port, how to debug the software. I've heard of adb wifi for wireless debugging, but I'm lazy and never try. This time, I was forced to do some research. I have little experience and some shortcomings. ...

Posted on Sat, 29 Jun 2019 15:21:25 -0400 by techevan