Posts

Showing posts from November, 2017

Android Studio and its UI performance measuring features

Image
Introduction While starting an app development,the first and foremost thing to be taken care of is  UI/UX (User Experience) .In past three years,while developing apps I've noticed so many times that layouts and UI performance are not being paid attention as equal as we do for code.But a well written layout simply adds to your app performance and easy to maintain as well.In this article,I am gonna cover some tools of android studio provided for layout  efficiency and performance we'll also get to know few tips regarding android Layouts and Views. Layouts and Views Layout is basically a container that wraps all the elements that we see on screen.It also handles the arrangement of elements encapsulated.One can also create a custom layout by extending  ViewGroup  class.Most commonly used layouts are: 1.Linear Layout 2.Relative Layout Relative layout is considered simple and easy to use.But Relative Layout is slow, and Constraint Layout(recently launched by ...

Functional Reactive Programming:Functions and Rx coupled Together

Image
Functional programming with Rx Java Hi dear readers,I am back with something new that is Functional programming in coupling with Rx Java.Before we start,I'd like to give brief introduction about Functional Programming which is introduced in java 8 with Lambda Expressions(( ) =>,seems familiar?). Functional Programming is based on functional paradigm,it is simply used for computational tasks.Functional programming follows mathematical approach using Lambda expressions.With this approach,functions are passed as arguments to other functions.Before we dive deep into functional programming and lambda expressions.I'd like to start with a one line(quick to grasp) definition for all.Here,we go: Lambda Expressions Lambda expressions are the first step on the way to functional programming.One should have complete understanding of lambda expressions before starting with functional programming. Basic syntax of Lambda expression is as follows: parameter -> ...