Android Experience is a collection of the week’s most popular technology blogs and excellent class libraries, and will be updated on Monday evening

Wechat public account: Android experience sharing QQ discussion group: 386067289

This article has been authorized wechat public account: Android experience sharing, original release on wechat public account platform.

Hot news

1. Will the second spring of mobile Internet come when wechat launches small program application numbers?

Official introduction: Wechat small program is a new way to connect users and services, can be easily obtained and spread in wechat, at the same time with excellent use experience. Does this mean the mobile Internet is coming again?

2. October 4! Android 7.1 will ship with the new device

Android 7.0 has only just been released, and now Android 7.1 is coming. Google has revealed that it will hold an event on October 4th, and from the outline of the picture, it looks like the next generation of Google phones. According to previous reports, the new device will debut with the new Android 7.1 operating system, which may also be rolled out to other Google devices.

Popular blogs

1. Wechat small program development resources Awesome big collection

This week’s hottest topic is undoubtedly wechat mini program. This blog is a collection of the latest open source projects, documents, tutorials, Zhihu discussions, media reports and related articles on wechat mini program.

2. A detailed picture loading framework Glide – source code

If someone asks you how it loads, how does it work? Why does a custom GlideModule just need to add meta-data to the Manifest file? And so on a lot of loading processes and use considerations. Want to understand these problems, we need to Glide source code have a general understanding, to analyze the mystery of the depths of the source code.

3. Source code analysis of EventBus

EventBus is an Android event publish/subscribe framework that simplifies The delivery of Android events by decoupling publishers and subscribers, where events can be understood as messages, collectively referred to in this article as events. Event passing can be used for communication between Android’s four major components, as well as communication between user asynchronous threads and main threads, etc.

4.Android muddies the transition from beginner to master

As an Android developer, if you don’t want to open source your app, you need to obfuscate the code before the app is released, making our code hard to read even if decomcompiled. Although it is easy to confuse concepts, many beginners just search for some formed confusion rules on the Internet and paste them into their own projects without having a deep understanding of confusion.

5. Encapsulate general network framework based on Retrofit, OkHttp and Gson

Android development process network request as one of the most important components, but for most Android developers in the network request have too much confusion, do not know how to type? I think it’s best to use widely used third-party web frameworks to encapsulate them, because these web frameworks like Retrofit, OKHTTP, Volley, etc. are maintained by Android developers all over the world, and are better than their native implementations in terms of functionality, performance, and code simplicity.

6.ListView, RecyclerView, ScrollView nested ListView relatively elegant solution :NestFullListView

CrollView nested ListView is one of the most annoying things Android developers (or at least our group) have ever done. It breaks the RecyclerView mechanism and turns Native pages into smelly, long H5 pages. But because of this design requirements in our project is too much, but under the package.

7. Embrace SVG: Struggling with Image adaptation in Android?

There is one thing that drivers who have been developing Android for a long time, as well as new ones who have just gotten into the car, are sure to hate: graphic adaptation (especially if the artists aren’t very good). Why do Android phones have so many different resolutions? Why is it that my image appears perfectly in accordance with the design requirements on this phone and then distorts on another phone? Oh my god !

8.RxJava common operators

RxJava common operator.

9. Eight Possible Ways of Leaking Android memory

Java is a garbage collection language. The advantage of Java is that developers do not need to manage memory allocation deliberately, which reduces the possibility of application crashes due to local faults and prevents unfreed memory from bursting the stack. Therefore, the written code is more secure.

10.View drawing process combing and Measure process detail on View working principle (Android Development Art Exploration Notes)

The working principle of View mainly includes three processes of View: onMeasure(), onLayout() and onDraw(). Since it will be a bit long to write all the contents at one time, this time I will mainly introduce the overall sorting of View’s working process and Measure process related knowledge. The next note will finish up the rest.

Popular class library

1.GeneratePicture

Select the page content generated picture. Copy book select page content to generate share pictures.

2.Forcelayout

Forcelayout is library for android. You can drawing graph with spring-like attractive forces.

3.K-Sonic

Audio Speed,Pitch,Rate adjustment Demo based on Sonic(sound processing algorithm) audio Speed,Pitch,Rate adjustment Demo includes two media engines, both supporting audio Speed adjustment function. One is based on Exo and Sonic Java algorithms.

4.wechat-lightapp

Wechat small program (application number) development tools + crack +Demo+ tutorial.

5.SpinMenu

Roulette style Fragment selection menu, you can turn the wheel to switch Fragment.

6.TelegramGallery

World class photo album selector, fast, low consumption, fast response, no dependency. Extract from Telegram, extended QQ album selection style.

7.ProgressLayout

An extension of RelativeLayout that helps show loading, empty and error layout.

8.CouponView

Semicircular sawtooth background dotted line border combination to achieve simple coupon effect, can achieve some simple combination.

9.android-page-transition

The misplaced parallax when the viewPager slides left and right, and the transition animation when the internal Fragment Item drags up and down and enters a new Activity.

10.FaceDetect

Face++ based face detection, solve the camera preview deformation, image direction is not equal.

Complete the project

1.ZhihuDaily

Copy Zhihu Daily, based on MVP + RxJava + Retrofit2 + Dagger2. This application is a personal practice project, the purpose is to summarize and summarize the recent learning of new technology, through a comprehensive understanding. This application basically covers the most commonly used mainstream framework of Android development. The interface is fresh and simple, and the main functions of Zhihu Daily are realized.

2.DesignResCollection

An Android project deals with all the mainstream frameworks and provides different architectures of the same App for comparison and analysis, which is convenient for everyone to choose and use.

Weekly as an aside

1. Wechat application number officially opened, an open wechat is on the road?

After wechat officially announced the “mini program”, many people pointed out that the mini program will pose a threat to a large number of apps. But from the details released so far, we can see that wechat is actually giving developers more visibility in front of users. The point is, wechat is not dabbling in new features itself, but giving its capabilities to more developers.

2. To understand what wechat small program (application number) is, is it worth for entrepreneurs to invest in it?

Zhang xiaolong explained in wechat moments: “Small program is a kind of application that can be used without downloading and installing, it realizes the dream of application” at your fingertips “, users can scan or search to open the application. It also embodies the concept of “use it and go”, so users don’t have to worry about installing too many apps. Applications will be everywhere, ready to use, but not installed or uninstalled.

More exciting articles please pay attention to the wechat public number “Android experience sharing “: here will be a long-term experience for you to share Android master, Chinese and foreign open source projects, source code analysis, framework design and Android good article recommendation!