Jane: Size small white

Original address:

www.jianshu.com/p/8ed9543b1…




2016.jpg

In mobile development, new technology emerge in endlessly, in addition to the third party open source individual to share some of the technology, main or Google, FaceBook, Square the driven technology-driven leading technology companies, also have domestic ali, baidu, ctrip framework based on the abroad development of some mainstream framework, actually look at the recent years, From the initial image loading framework ImageLoader to the emergence of React Native, and finally to the current widespread praise of responsive programming. You can see that Google’s thinking is getting smarter and smarter.

A popular image loading library for 2015

Picasso, Square’s open-source project, is said to work best with Square’s web library.

Fresco, FB’s star project and one of the most popular projects of the last year, features anonymous shared caches and other mechanisms that make low end machines perform extremely well, but the source code is based on C/C++, making it harder to read.

Glide, a private project by Google employees, but used by many Google projects, has an edge over Picasso in gifs.

Thread communication library:

EventBus is a threading communication framework based on an implementation of subscription and subscribed observer patterns

In addition to the more general open source projects mentioned above, you should also take a look at the following popular cutting-edge technologies

The development tools

Android Studio: Google has officially abandoned Eclipse to popularize Android Studio. AS is not new, but updates to the Android Studio software have been surprisingly rapid, with a number of new features released. For example, support for many code hint annotations, Live Code Templates, support for auto-generated Parcelable implementations, etc. As a developer, keeping an eye on this list of Recent Changes will make your coding life much more enjoyable.

Kotlin

Swift, as the Android equivalent, is definitely refreshing. By ditching the heavy Java syntax, Kotlin has embraced the ideas of many modern programming languages. As a developer, embracing new languages and understanding their trends can help broaden your mind and deepen your understanding of the language. Kotlin doesn’t cost you anything on Android development, so why not? Use Kotlin for Android development.




ccf4d46812f749e056c60585abf3a221.jpg

React Native:

Cross-platform has always been the dream of developers, and there are a lot of cross-platform solutions for mobile apps, but Facebook’s involvement and push has given this solution a halo. The first App developed with React Native has launched Facebook AD management tool on Google Play. I heard that Android SDK is coming soon. The Chinese Tmall team implemented it for the first time in October last year. Ctrip also launched Mouse based on React Native, and we expect more frameworks to come soon.

Sky

React Native also uses the Web development language for mobile platform development. Although this is only an experiment, it is a product of Google itself, especially after losing the lawsuit on the use of Java language. Domokit/Sky_SDK · GitHub development mode

Dagger 2

Dependency injection is not a new technology, and the success of Spring on the Web has frustrated developers, but it is certainly a new experiment on Android. Android apps are increasingly being built as serious, large-scale projects, and many of the techniques previously used for large-scale server development are being applied to mobile development. Android development module development, using the Dagger to loosely couple the module. Of particular interest is that Dagger 2 is now taken over by Google itself. Dagger A fast Dependency Injector for Android and Java.

MVP

Because Android doesn’t have a strict business and interface distinction, it’s easy to get messy with the structure of your code as your project gets big. Now the Android end of the MVP mode discussion is more and more hot, Google 6.0API and more reflected MVP design thinking, THINK MVP is very suitable for Android APP development. MVP for Android: how to organize the presentation layer

The MVVM:

This is due to the beginning of official support for DataBinding, which brings MVVM directly to Android. Data binding is already very common in Windows WPF and the Web (especially JSP), and it is very efficient and lets you only care about your data and business. This is a significant milestone for Android development

RxAndroid:

Functional Reactive Programming is not new either, and RxAndroid brings RxJava to the Android environment. Most of the time, writing Android programs, you can also think of data processing and flow, change the thought of programming, once seemed very difficult problems, very elegant solution in an instant, I believe you will be this build mode of development will be more and more love

Plug-in modularization

Although plug-in development is nothing new, it is a project that a few companies can do. For large Android projects, based on frequent outsourcing, many apps start to use plug-ins to build relatively independent functions by modules. Famous DL, 360Plugin, Ctrip and Ali all have their own open source projects.

Hybrid

H5 is fully used for App development, which is now very mature, but not very well embodied. The APP UI can be updated in a short time with strong adaptability, but due to heavy traffic, the compromise scheme is very suitable in many cases. A typical example is Taobao wechat. Most information display is completed through H5, and Hybird method is used to connect Web and Native. Provides the ability to access Native web pages.

The UI style

Material Design

Has not been able to fire again, this aspect of the discussion is too much, and a variety of libraries, I believe you used to write a few classes of control, now you only want a line of code, especially Google official out of a Support Library Android Design Support Library, You can still implement a high performance UI on a lower version.

Sketch 3

Designcode. IO/Sketch is a design tool designed for mobile UI design. As a developer, you can do very professional design without knowing the complicated use of PHOTOSHOP: Designcode. IO/Sketch




a-1.png

Retrofit

A network request framework based on asynchronous thread, an Android security type OF HTTP client, support thread safety, developers do not need to pay attention to the thread problem, is also based on the chain programming idea of a network request weapon. Retrofit has been around since 2015, so why hasn’t it been widely used until early 2016? One is that people are still waiting to see what new technology is, and it didn’t take off right away. It was mainly the widespread use of Google’s own OKHTTP and the inspiration of responsive programming, coupled with the rise of RXJava, Also, Retrofit 2.0’s own support for okHttp and RxJava shows developers how powerful Retrofit can be, and that frameworks will soon support each other perfectly.

Why do I prefer Retrofit? Ta allows us to learn Okhttp, even in combination with RxJava, and Retrofit itself uses annotations, builder patterns, and also supports various data parsing patterns well enough to cover some of the other framework principles as well, which is one of the first robust frameworks.

Mobile development technology emerge in endlessly, also brings to the developers of joy and pain, need to continue to learn new technology, lower development costs, but also brought the learning cost, the established project has brought unnecessary transformation output, for new technologies, not rejected, also not to love, if you are a developer’s personal, then you can pay attention to more, People who don’t have time will always have excuses, always good. If it is an enterprise, you can actively step on pits and try to help other developers learn. If there is no capital cost, it is better to use mature technology and continue to introduce it after it is stabilized by other large enterprises.

With new technologies, we need to embrace change to have a future