Category Archives: Technology

How to Animated Recycler View?

Animated Recycler View is a library that allows you to animate a recycler view in your project like Google does it in its Google Play Store. Only the first visible items are animated there and you will see no animation when the recycler view scrolls up.

Animated Recycler View - Transition Page Recycler with layout animations
Animated Recycler View – Transition Page Recycler with layout animations

Reasons to use it

This library solves several problems:

  1. It works stably fast and without jerks.
  2. It doesn’t need to utilize the adapter to animate items when they appear for the first time.

Recommended article : Is LastAdapter ending RecyclerView adapter?

Why Animated Recycler View is special for you?

While working on a project, most of time we need animation similar to the one used in the Google Play Store but didn’t find any appropriate library on Internet/ Github/ StackOverflow that could help us with this task.

Source: How to Transition Page Recycler using Animated Recycler View? 

Advertisements

Analyze APK sizes – Best Programming language for Android

There are so many ways to make mobile apps ranging from direct platform specific development (using Java and Kotlin for Android, and ObjC and Swift for iOS), there’s React Native from Facebook, Electrode Native from Walmart, the Ionic framework, Unity for certain types of apps, and the flutter.io framework which was just released by Google.

Ever wondered how these libraries and frameworks affect the size of your app? Let’s analyze some apk files for apps written in some of these ways. The apps are very basic, containing just a title at the top and a text at the center of the screen.

Which Language is Good for Android by Analyze APK sizes?
Which Language is Good for Android by Analyze APK sizes?

This will show, for a bare minimum app what these frameworks need to package along with the apk for it to be able to run.

  • For this test I created four different versions of the app, one in each of JavaKotlinReact Nativeand Flutter. (Android API 27)
  • The apks were then published for release type using Android Studio for Java and Kotlin and using the cli for React Native and Flutter.
  • Default proguard configuration was used.
  • The apks were analyzed using the Analyze APK feature in Android Studio.

Source: Which Language is Good for Android by Analyze APK sizes?

Kotlin can overcome Java issues?

This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. Kotlin showed a surprising impact on productivity.

This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. My first article (5 cool thing about Kotlin) provided a brief introduction to Kotlin and showed a surprising impact on productivity.

It’s important to realize the difference in value in fixing a defect in one class versus preventing an entire category of Java defects from occurring in any class.

What we see today:

Source: How Kotlin remove Java defects? 

Advantage and Disadvantage of BlockChain

What is BlockChain Advantage and Disadvantage?
What is BlockChain Advantage and Disadvantage?

Blockchain is a public record of transactions. It’s also distributed, so instead of one person controlling everything, there are thousands of computers around the world connected to a network, and these thousands of computers together come to an agreement on which transactions are valid.

A blockchain, originally block chain,is a continuously growing list of records, called blocks, which are linked and secured using cryptography. Each block typically contains a hash pointer as a link to a previous block, a timestamp and transaction data.

Top 3 Mobile Technology Trends in 2018

Attempting to explain the advantages and disadvantages of blockchain technology, in it’s current format, for developing solutions.

Over the last 6 months, we’ve been attempting to pull apart blockchain, from concept, to economics. This article is designed to record some of our thoughts about blockchain and why it’s useful, or not. If we have something wrong, inaccurate or out of date, let us know in the comments!

Source: What is BlockChain Advantage and Disadvantage?

Mobile Technology Trends For 2018

Top 3 Mobile Technology Trends in 2018
Top 3 Mobile Technology Trends in 2018

Here is my Top three technology trends you all should look out for in your endeavors in this new year 2018, which as always, will offer you loads of new opportunities to rock this world. Being a part of this mobile app ecosystem I feel immense pride while writing this piece of article for all you visionaries and future mobile apprenuer.

Before I kick-start this article, please allow me to wish

“ A Very Very Very… Happy New Year 2018” To all you lovely readers and my well wishers.

It has been an amazing journey so far being a part of this mobile app revolution since 2006, I feel blessed to see both pre & post smartphone evolution era and having experienced the change myself being the developer, leader and now a father of my own mobility startup. So thought to analyze the trend setters which kind of will rule this new year.

Technology trends Credit: BOD
Technology trends – Credit: BOD

List of Top 3 Mobile Technology Trends in 2018

Android Wear Library for 2018

Top 5 Android Wear Library In 2018
Top 5 Android Wear Library In 2018

Welcome to 2018. Happy New Year To All Of You.

Android Wear is a version of Google’s Android operating system designed for smartwatches and other wearables.By pairing with mobile phones running Android version 4.3 or newer, or iOS version 8.2 or newer with limited support from Google’s pairing application, Android Wear integrates Google Assistant technology and mobile notifications into a smartwatch form factor. It also adds the ability to download applications from the Google Play Store.

If you’re planning to make your own Wear app then i can give you list of some great Android Wear library which you can use in 2018.

Android Oreo Vs iOS 11 : Comparison you should know about this

Top 5 Android Wear Library In 2018
Top 5 Android Wear Library In 2018

Android Wear smartwatches let you track your fitness, glance at alerts & messages, and ask Google for help – right on your wrist.

List of Top 5 Android Wear Library In 2018

Best 10 Kotlin Tips You must Know

Advanced Kotlin Tips on writing good Kotlin code and using what the language has to offer. There are many benefits of using Kotlin; it is concise, safe and most importantly it is 100% interoperable with Java. It also tries to solve some of the limitations of Java.

Top 12 Advanced Kotlin Tips For Pro Developers

Now is a good time to consider Kotlin for your next big feature or project, because Google finally announced it to be a first-class language for writing Android apps in Google I/O 17.

So here are some advanced Kotlin tips to help you start making use of what the language has to offer and writing good Kotlin code.

1. Singleton

Implementing lazy loaded and thread-safe singletons in Kotlin is really easy, unlike Java where you would have to rely on the complex double-checked locking pattern. And although Java enum singletons are thread-safe, they are not lazy loaded.

You must see this : Kotlin Parcelize – Developer need to know

  1. object Singleton {
  2. var s: String? = null
  3. }

Contrary to a Kotlinclass, an object can’t have any constructor, but initblocks can be used if some initialization code is required.

  1. Singleton.s = “test” // class is initialized at this point

The object will be instantiated and its init blocks will be executed lazily upon first access, in a thread-safe way.