Android Studio 1.3 Released
Android Studio 1.3 Released
Written by Mike James   
Monday, 03 August 2015

The first preview of Android Studio 1.3 was fairly unusable. Now we have the release version it is time to try it out for real and there are some important new features that you should start to make use of.

androiddevicon

Although the Android blog announcing the new version makes a lot of the new performance and testing tools, the day-to-day work of the average Android programmer is more likely to be changed by a feature much lower down in the list - data binding. 

As we commented earlier, see Android Data Binding - Say Goodbye To FindViewById, the data binding library changes a lot of things. Data binding is something that modern UI frameworks tend to support and so to a certain extent this is a case of Android catching up. The idea is that you can define connections between UI components and data in code purely within the XML of a layout. So for example you could write in the XML something like:

android:text=@{user.name}

and the text property of the control would be automatically set to user.name when the layout was active. Data binding essentially sets up a connection between data and the UI elements that display it making it much easier to make use of MVC style architecture. 

One spin off from the approach is that all of the UI elements are now represented within the data binding object as properties, so there is no longer any need to use FindViewById. Given how common the FindViewById idiom is, this is a big cultural change. 

The new data binding library is included with the new Android Studio and support is a lot better than it was, but you still have to do quite a bit of work to set it up. Clearly things will have to be better integrated before data binding becomes the default way of wiring up UI and code. 

 

Data binding may be the star of the show but there is a supporting cast. 

You can now ask for app permissions when they are first used rather than on install. This might make more users install your app and go on to use it. Android Studio now helps you make use of this, but notice it only works with Android M. 

There are two new performance and testing tools - Android Memory Viewer and Allocation Tracker. Another welcome addition is the ability to get your code tests well away from your production code by putting in a separate module. SDK management has also been streamlined.

Finally there is now C++ support, but it is still only an early access preview. This is disappointing for all the NDK users trying to make the move from Eclipse to Android Studio.

 

androidNdk

 

 

The documentation on all the new features also seems to be lagging by quite a way and you might well have to go in for some experimentation to get things to work.

This may be a stable release, but lots of the features still seem like work in progress. 

It is also worth noting that Android M preview 3 hasn't appeared on its target date. Intended as a "near final version", it was supposed to be available during July. With the Final SDK scheduled for "later in Q3", Google has another eight weeks if it is to deliver it on time.

 

androiddevicon

Banner


DeepMind's AlphaZero Triumphs At Chess
07/12/2017

DeepMind's latest program, AlphaZero, has used reinforcement learning from playing against itself to master the game of chess. Given the important role that chess has occupied in computer science, thi [ ... ]



Grace Hopper & Computer Science Education Week
08/12/2017

Tomorrow marks the 111th anniversary of the birth of Grace Hopper. Considered "the first lady of software" she is the figurehead chosen for Computer Science Education Week, which is timed to coincide  [ ... ]


More News

 

 
 

 

blog comments powered by Disqus

 

 

Last Updated ( Monday, 03 August 2015 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.