Social Icons

Wednesday, May 23, 2018

Android Jetpack: develop applications faster and easier

On the occasion of Google I / O, Google has announced a new project called Android Jetpack. This is simply the renaming of the components of the library support.

Google I / O is primarily a developer conference. Last year, the Kotlin language was notably formalized as an alternative to Java. This year there will certainly not be such a change, but the new features will still be synonymous with transformations for Android developers.

Support libraries become Android extension libraries

Many of the applications on your phone use so-called support libraries. Specifically Google is aware that developers have to manage many versions of Android and support libraries are primarily intended to retro-wear the new system features on the older ones. A good example is the Material Design which was not available on Android 4.x.

This library support is not new since it started more than 7 years ago now. The history is that today developers are lost between v4, v7, v13 ... This is how we will no longer call them support libraries, but Android extension libraries (or AndroidX).

The features do not evolve, but the package name will be clearer: androidx. ** instead of android.support. **. It will be the same for the Architecture Components. Another change: the support libraries which evolved according to the version number of Android (27 for Android Oreo 8.1), will now go back under a standard numbering of type 1.0.0.

But what is JetPack?

Google quickly spoke to Android Jetpack during its keynote, making the concept somewhat obscure. In the end, Android Jetpack represents neither more nor less than the various components of Android extension libraries and some of its extensions. It seems unclear, but it is the same set of tools that has more or less the same name.

Within Android Jetpack, we will find four main types of tools: foundations, architecture, behavior and graphics. All this is materialized by the well known AppCompat, Android KTX, the management of the multidex, the elements relating to Architecture Components, Android TV ...

However, several novelties are on the program:

WorkManager that allows you to manage jobs running in the background
Slices that display portions of the interface in particular search
The Paging API goes into stable release
A new framework to manage navigation

WorkManager?

Going into a little more detail, the WorkManager is thinking a lot about the JobScheduler introduced with Android Lollipop, since it consists of scheduling a task according to criteria (example: launch a task when the phone is connected to the sector and has 'a stable internet connection).

It is however more powerful, since it relies on the Firebase JobDispatcher and the AlarmManager. Unlike JobScheduler Jobs, the WorkManager allows you to link several tasks one after the other automatically or to check the execution status of the job.

Manage navigation more easily

With a new component called Navigation Architecture Component, developers will be able to simplify the implementation of navigation in their applications. By adding very simple code and thanks to Android Studio, the order of appearance of the screens can evolve with a simple click. The tests should be easier in the development process.

No comments:

Post a Comment

Category Of Mobile Courses

Actualités (644) Adsense (1) Affiliation (1) Algebraic Topology (1) Algorithmic (1) all-news (30) Android (5) Android App (8) Android app without code (4) Android Apps (168) Android Development (4) Android download (2) Android OS (3) AngularJS (1) Automata theory and formal language (5) C programming (5) Category and Functor (8) CMS (3) Computer Glossary (18) Create Mobile App With Ionic Framework (2) CSS (2) CSS-Cascading-Style-Sheets (4) Developpement Java (13) Differential Geometry (1) Django-Python-Framework (8) dropshiping (26) Earn Money by Internet (4) Emplois (23) Framework php (2) Fraud (2) HTML (7) Java For Beginners (10) Javascript (12) Kotlin Programming Language (8) Kotlin For Mobile Android (1) Linux Download (2) Marketing (5) Mobile (3) Mobile Courses (4) Mobile Marketing (4) MoneyGram (1) News (721) Node.js (5) Open Source (1) Photoshop (1) Protect Computer (1) Python (33) Python BeautifulSoup (1) Python For Data Science (2) Python-Books (6) Python-DVD-Training (1) Python-Exercises (138) Python-Framework (1) Python-IDE (1) Python-Modules (1) Python-pdf (2) Python-pyQt (1) Référencement (2) Script PHP (2) Security (6) SEO (1) Snipping Tool: Faq (1) Social Networks (1) Source Code (1) Statistics With SPSS (2) Surveillance Software (1) Travail à domicile (6) Tutoriels php en vidéos (2) Tutoriels-MySql (6) tutoriels-php (19) Utilitaires (1) VPS (1) Web Hosting (1) Webcam (1) Webmarketing (11) Western Union (1) Windows 10 (1) Windows 7 (4) Windows 7 Faq (2) Windows 8 (1) Windows Accessories (1) Windows Download (8) Windows Drivers (1) Windows Fonts (1) Windows Power Shell (2) Windows Registry (2) Windows Security (18) Windows Software (2) Windows Spyware (2) Windows utilities (3) Windows Virus (2) Windows Vista (3) Windows Wireless (1) Windows xp (1) Wordpress (1)
 

Sample text

Sample Text

 
Blogger Templates