How to Implement Vega Scroll Layout Android Slider?

Vega Scroll Layout is a lightweight animation flowlayout which fade and shrink the head itemView when scrolling.

example-plain

How i found Vega Scroll Layout library?

As you can see in above image its cool effect for your scroll layout and i used this library in my current project which is based on trading data. Previously we discuss infinite scroll in Kotlin and my author partner Ponglang Petrung suggest about Android DiscreteScrollViewto used for this. But i was looking for something new effect and after half hour googling i found Vega Scroll Layout library on dribble. And i am sharing tutorial on this with you.

Demo

 Example of Vega Scroll Layout Androidq
Source: Vega Scroll Layout Android Slider 

How to Add Android Rich Path Animator?





Animation in Android is a best way to give a valuable UI in any application. So today i am going to how to implement Android rich path animator which can draw as you want animate much as you can.

What is Android Rich Path Animator?

How to implement Android Rich Path Animator?



This library define in simple three line:



  1. Rich Android Path.
  2. Draw as you want.
  3. Animate much as you can.


That line is sufficient to tell much more about Android Rich Path Animator and now we dive in implementation of this library.



Features

Full Animation Control on Paths and VectorDrawables:

Animate any attribute in a specific path in the VectorDrawable:

  • fillColor
  • strokeColor
  • strokeAlpha
  • fillAlpha
  • size
  • width
  • height
  • scale
  • scaleX
  • scaleY
  • rotation
  • translationX
  • translationY
  • trimPathStart
  • trimPathEnd
  • trimPathOffset

 Path morphing on API +11 : 

Source: Implement Android Rich Path Animator 

Topbar Menu with Guillotine Android animation

How to Create Android Topbar Menu with Guillotine animation? Have you ever wondered why a sidebar in apps has to be a “side” bar? Why not to make it a “topbar,” or a “bottombar,” or a “cornerbar,” etc.?
A new animated trend in the generation of navigation bars is what we are going to talk about this time. Animations are fun but most importantly, they are useful. They can change your way of thinking, make your product catchy, and improve user experience.
Android Topbar Menu with Guillotine animation
Android Topbar Menu with Guillotine animation
“From time to time every designer gets bored. All these fixes, cuts, specifications – they leave very little space for imagination. In these minutes I feel like opening my Adobe After Effects and creating something interesting.
When I started thinking about what to create this time, I caught myself on a thought that a typical sidebar menu which sadly gets out of the left part of the screen moving all content to the right, is so unbearably boring! What if a sidebar becomes a topbar?
It’s going to drop down from the top of the page and turn in a unique way. Sounds like fun, doesn’t it?”

Implement Android Prevent Screen Off library?

Android prevent screen off is the library that keeps the screen on until user is looking at the screen. If you are using Samsung devices you might know there is one feature called “Smart Stay”.
 
When this feature is enabled, the device will prevent your screen from turning off regardless of your screen timeout settings. But, this technology is only available on some Samsung devices. What if we want to use that technology in our application to solve above problem?
Today, I am going to present the solution of this problem.
Here is the solution:
Prevent-Screen-Off” library handles screen on/off timing smartly. It prevents device display from turning off when the user is looking at the screen and he/she might be reading some textual content provided by your application. As soon as the user stop looking at the screen it will allow phone screen to turn off.
What is Android prevent screen off library for?
  • Ideally, when you user is looking at the screen, your application should not turn the screen off. This is huge deal for the blogging, messaging applications because those applications displays textual content to the user. Reading those textual content takes more time to the user. While reading that content (let say anu article) if the screen turns off, because of the screen timeout that is frustrating to the user.
  • This library provides smart handling of the screen on-off. This library prevents screen from turning off if your user is looking at the screen might reading some textual content on the screen. As soon as the user stop looking at the screen it will allow phone screen to turn off.
Source: What and How implement Android Prevent Screen Off?

Android P support Java 9 with Kotlin updates?

With work moving forward on the next edition of standard Java, developers can start looking forward to what they will get with the planned upgrade.

Will Android support Java 9 after Kotlin updates?

Jigsaw isn't the only new addition slated for Java 9. Support for the popular JSON (JavaScript Object Notation) data interchange format is key feature as well, along with process API, code cache, and locking improvements. "The key message is that there's a tremendous investment in the continuing evolution of Java," says Scott Sellers, CEO at Azul Systems, which offers JVM technology.

See this : How to Create Your Own Ransomware Virus

Here is a rundown of what's in store with JDK 9.

Modular source code

JDK source code will get reorganized into modules, the build system will get enhanced to compile modules, and module boundaries will be enforced at build time. "Project Jigsaw aims to design and implement a standard module system for the Java SE Platform and to apply that system to the platform itself and to the JDK. Its primary goals are to make implementations of the platform more easily scalable down to small devices, improve the security and maintainability, enable improved application performance, and provide developers with better tools for programming," the JEP document says.

Lightweight JSON API

This is an API for consuming and generating documents and data streams via the JavaScript Object Notation data interchange format, which is based on a subset of JavaScript and serves as an alternative to XML. "JSON has become the lingua franca for Web services, and it is time for Java SE to adopt functionality for interacting with and utilizing JSON documents and data streams," the corresponding JEP document says. "This proposal is designed [to] provide the most commonly needed functionality and take advantage of Java 8/9 language and library features."

You must know ; Create Android Studio Live Templates for Writing Less Code

Process API updates

This will improve the API for managing operating system processes and is intended to overcome limitations of the current API that often forces developers to use native code. Java SE 7, the JEP notes, offers limited support for native operating system processes; the new API, though, needs to account for operating system differences, particularly on Windows. "The design of this API needs to accommodate possible deployment on smaller devices with different operating system models. It should also take into account environments where multiple Java virtual machines are running in the same operating system process," the JEP document states.

Improve contended locking

The goal is to improve contended Java object monitors. The documentation says that "improving contended locking will significantly benefit real-world applications in addition to industry benchmarks such as Volano and DaCapo."

Do you know : Comparison of All Android Image Loading Library

Segmented code cache

This effort is intended to divide code cache into segments, each containing compiled code of a particular type, to improve performance and allow extensions.

Smart Java Compilation, Phase 2

This project is intended to improve the sjavac (Java programming language compiler) tool enabling it to be used by default in the JDK build and also to generalize it so it can be used to build large projects other than the JDK. "The current implementation has proved to be useful and does indeed improve build speed and allow for incremental builds. The quality of the code and stability of the tool as a whole, however, is not satisfactory and it is certainly not ready for public release," the JEP document states.

Source: Will Android support Java 9 after Kotlin updates?

Tutorial : Create Augmented Reality in Kotlin


Google has launched a preview of ARCore, a software development kit that brings augmented reality capabilities to Android mobile devices, including those without high-end hardware like depth sensing cameras.


If that sounds familiar, it’s because Google already has an AR platform called Tango. But that earlier effort only works on a handful of powerful phones specially tricked out with the necessary sensors to allow you to place virtual 3D objects in a physical space and interact with them through your phone as if they were really there.


With ARCore, Google is opening up augmented reality to many more users – the company says it hopes to get it to work on 100 million devices by the end of the preview.
The device compatibility situation will change in the future, though, as Google assures us that it's working together with Samsung, Huawei, LG, Asus, and others to make ARCore available on many more phones. ARCore is expected to eventually run on "millions of devices". It works with Java/OpenGL, Unity, and Unreal, and has three main areas of focus: motion tracking, environmental understanding, and light estimation.