Using Recyclerview to realize the Quick Return effect of "shell word" English corner
Today, the "shell word" in the English corner of the quick return effect stripped out to write a Demo, explaining the use of Recyclerview and Nineoldandroids to write their own quick return menu. The knowledge you will learn through this article is: 1. Recyclerview and the basic use of its adapter RV, 2. Adaptable to a variety of Item view types, 3.mrecyclerview.setonscrolllistener (), 4.nineoldandroids this powerful View The use of the Operation library and so on.
The MVP architecture analysis of Open source project Philm
Recently, I have been studying Chrisbannes's Open source project Philm, its overall architecture is a set of MVP implementation, because I did not encounter the whole project using the MVP architecture, see more is some code snippets, Here is a discussion of how Philm combines the actual Android problem to achieve an MVP architecture, if there is inaccurate analysis of the place, welcome to point out, we discuss together.
Gradle Modifying the Maven warehouse address
Recently migrating some projects to Android Studio, using the Gradle build is really a lot easier than the original ant. However, it is really painful to download the dependent speed at compile time. If you can switch to a domestic MAVEN image warehouse, such as open source China's Maven library, or replace it with a self-built MAVEN, it must be excellent.
Why we can update the UI in a non-UI thread
See such a title ... estimated that more than n people would say I was teasing ... Because a lot of friends in the study of Android (especially from the beginning after 4.0) will often see or hear people say that we update the UI in the UI thread (or the main thread) to update the UI, do not update the UI in the child thread, and the official Android also recommend that we do not directly update the UI in the non-UI thread, why? ?
Guava is a wheel of the wind Basic tools (1)
Guava is a good friend of Java developers. Although I use guava in development for a long time, guava API figure throughout the production code I write every corner, but I use the function is only guava function set a few poor true subset, let alone I have no time to seriously dig guava function, no time to learn The implementation of guava.
Android Best performance Practice (ii)-Analyze memory usage
Since Android is an operating system developed for mobile devices, we should always take the memory issue into account when developing applications. Although the Android system has a garbage collection mechanism, this does not mean that we can completely ignore when to allocate or free memory. Even if we all follow the programming recommendations given in the previous article to write programs, there is a good chance of memory leaks or other types of memory problems. So the only way to solve the problem is to try to analyze the memory usage of the application, and this article will teach you how to analyze it.
Android Main thread Tour-PSVM
When I hit a bug that was related to the Android main thread interaction, I decided to take a good look at what the Android main thread was all about. This article describes the first part of my Android main thread tour.
Java Annotation Processor
Annotations in Java (Annotation) are a magical thing, especially now that many Android libraries are implemented using annotations. In this article, I'll explain how to write a note processor (Annotation porcessor). In this tutorial, I'll start by explaining to you what a callout is, what you can do with this powerful tool, and what you can't do, and then I'll implement a simple note-making device step-by-step.
Ways and tricks to optimize Android apps on x86
Intel is committed to helping developers deliver Android apps that work properly (and even run well) on Intel architectures. While Intel focuses on the community level: Optimizing Dalvik Java, V8 engine and Bionic C, enriching the code base, and providing IA with 32-bit and 64-bit cores, they also offer several types of new tools to help Android developers. These tools are primarily used to improve performance beyond the default ARM conversion layer for x86: the performance provided by Libhoudini.
Kugoulayout
A simulation of the cool dog player sliding back to the layout, you can let your app has a richer and more convenient gesture operation, support activity sliding back and normal layout of the slide show/Hide two modes.
Labelview
The sticker effect.
! [Image] (https://raw.githubusercontent.com/linger1216/labelview/master/img/img2.png)
Androidtaggroup
A nice label group control.
Drozer
An Android security testing framework.
Lynx
A library that can create a custom view and display all the log information.
Android-ultra-photo-selector
A picture selector control that supports selecting multiple pictures, browsing all folders containing pictures on the device, previewing selected pictures, and supporting zooming.
Fab
A floating Action button control that supports a number of custom properties.
Easymvp
A sample MVP demo from a LinkedIn engineer.
Iconbutton
A sub-class of button that supports the ability to control over drawable locations better.
Materialloadingprogressbar
The loading circle effect in the extracted support-v4 v21.
Elasticscrollview
ScrollView with rebound effect.
Android-resources
Android Development Data Collection summary.
Dashed-circular-progress
Circular trajectory progress bar control.
Autocompletebubbletext
Drawableview
Supports custom view of handwriting painting, and can save the result of painting as a picture.
Anytextview
TextView, EditText, and buttons are extended to support non-system fonts.