Day after day android provide many facility to developer to develop more application and make life easy.
Now, Android studio 3.5 include some of the new features and behaviors change.
- Apply Changes
- Memory Management Setting
- Memory usage report
- App deployment flow
- Improved Gradle sync and cache detection
- Improved support for Data Binding in XML
[wpedon id=”2479″ align=”center”]
=> Apply Changes
We need to run our application many time when we developing application, for checking desired output,
that time every time application restart and take more time to check output.
Now android studio introduce new feature apply code change icon.
Apply Changes lets you push code and resource changes to your running app without restarting your app—and, in some cases, without restarting the current activity.
Apply Changes implements a completely new approach for preserving your app’s state by leveraging the run time instrumentation supported in Android 8.0 or higher.
To use Apply Changes, do the following:
- If you want to apply only your code changes without restarting the current activity, click Apply Code Changes.
Generally, you should use Apply Code Changes if you have modified code in the body of a method but you have not modified any resources.
- If you want to apply your resource and code changes without restarting your app, click Apply Changes and Restart Activity . This option lets you apply resource and code changes by restarting the current activity without restarting your app.
=> Memory Management Setting
In previous so many people raised issue related to hanging and lack of android studio due to memory.
Now android studio solved this issue using memory management.
If you use a 64-bit operating system that has at least 5 GB of RAM, you can now configure the maximum amount of RAM that your OS should allocate for Android Studio processes, such as the core IDE, Gradle daemon, and Kotlin daemon.
You can access these new settings by selecting,
File > Settings (or Android Studio > Preferences on macOS),
and then finding the Memory Settings section under Appearance & Behavior > System Settings.
=> Memory usage report
In android studio so many time generated memory leak issue, but can’t able to generated that issue again for solving purpose.
Now we can solved this issue using memory usage report.
Memory problems in Android Studio are sometimes difficult to reproduce and report.
To help solve this problem, Android Studio now includes a memory usage report that you can send to the Android Studio team to help identify the source of memory issues.
=> App deployment flow
Now android studio support deploy or run our application on multiple device on same time.
Android studio provide multiple device selection option to run application on multiple device.
The IDE has a new drop-down menu that lets you quickly select which device you’d like to deploy your app to.
This menu also includes a new option that lets you run your app on multiple devices at once.
=> Improved Gradle sync and cache detection
Developer biggest issue solved to missing dependencies issue.
While we work on any project that time, accidentally we missing any dependencies that time IDE now downloads missing dependencies when it detects that Gradle has cleared its build cache.
=> Improved support for Data Binding in XML
In addition to adding incremental annotation processing support for Data Binding,
the IDE improves smart editor features, such as performance when creating data binding expressions in XML.
which means developer can easily binding data using XML expressions.