How to implement GIFView in Android

Use GIF in Android
Use GIF in Android
Today i am going to show you how to use GIF in Android application after my recent post on use of Springy Facebook Rebound library. Everyone know about GIF(Graphics Interchange Format) which is a great way represent your thought in single image.

I see this post on my Facebook group a member Moe Ma Ka .

In previous article i showed you Top 35 Android Loading Animation which you can implement any of them in your application using GIFView library.

It is a library for playing gifs on Android. Simple android view to display gifs efficiently. You can start, pause and stop gifView. Example usages can be found in example project.

Source: Use GIF in Android 

Android Instant Run - How it works?

Most of Android developer wants to know that how Android Instant Run works. It’s a feature in Android Studio that uses magic to significantly reduce the build and deploy times for incremental code changes during your coding / testing / debugging life-cycle.

How Android Instant Run Works?

How Android Instant Run Works?
Yes of-course, I say magic, because for the most part that’s how it looks. The first time you hit run or debug, it works like you’d expect — then each time. But you make a change and hit run or debug again (this time with a  on the icon), the changes are applied before I’ve had a chance to shift my attention to my phone.

Start with this simple flow chart of a typical build cycle

Build, deploy / install, app launch, Activity started
Build, deploy / install, app launch, Activity started

The goals of Instant Run are really simple:
In practice that means:
  • Build and deploy only the incremental changes.
  • Don’t reinstall the app.
  • Don’t restart the app.
  • Don’t even restart the Activity.
Source : How Android Instant Run Works?

Use Springy Facebook Rebound?

Springy Facebook Rebound is a java library that models spring dynamics. Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application.

Springy Facebook Rebound

It is not a general purpose physics library; however, spring dynamics can be used to drive a wide variety of animations. The simplicity of Rebound makes it easy to integrate and use as a building block for creating more complex components like pagers, toggles, and scrollers.

Source: How to Use Springy Facebook Rebound? » Tell Me How - A Place for Technology Geekier

Add Pull To Make Soup animation in Android

Pull-to-refresh is a great place for creativity! But Yalantis building cool pull-to-refresh called Pull To Make Soup animation not only for the purpose of self-expression. These small components can actually help app publishers make their applications stand out.

 how to add pull to make soup animation GIF

Source: How to add Pull To Make Soup animation?

Now we have a magic soup in the saucepan that cooks itself and a customizable pull-to-refresh component. I hope it encourages you to create your own super cool animations to make your apps look gorgeous.

Hope you like this idea so please share and comment us.

Use PreviewSeekBar for Android Video App

If you use Google Play Movies, you have probably noticed this great animated SeekBar with a preview of the movie. It turned out that Rúben Sousa implemented that as an open-source library. The gif below gives a good flavor of its functionalities.

Popular article : Top 30 Android Tools Every Developer should Know

If your app is for instance a movie player, you should definitely try it!

PreviewSeekBar in Android Video App
Source: Add PreviewSeekBar in Android Video App

KOIN – Functional Kotlin dependency injection framework

It is an open source project to help you write your dependency injection in few lines.
Let’s build an Android app with koin-android module.

Koin - Kotlin Dependency Injection
Koin - Kotlin Dependency Injection
KOIN is a Kotlin dependency injection framework that and its functional power to get things done! No proxy/CGLib, No code generation, No introspection. Just functional Kotlin and DSL magic

Source: Koin - Kotlin Dependency Injection

Lottie - How to Convert Adobe After Effects to Kotlin

Most of time animation play a important role to success of any application and in previous article we discuss some important animation tutorials for Kotlin. Most of developers familiar with Adobe after effects and know how amazing animations created.

Example #1 : How to Convert Adobe After Effects to Kotlin

Sometimes we also want to add that amazing Adobe after effect animations in our application. And if you’re that type of developer then this library can help you to do this.

See this : Android Crumbling Image SlideView

Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

With Lottie, digging through frameworks for reference, guessing durations, manually creating Bézier curves, and re-making animations with nothing more than a GIF for reference will be a thing of the past. Now engineers can use exactly what the designer intended, exactly how it was made. To demonstrate that, they’ve recreated their animations and provided After Effects and JSON files of each in given sample app.

Recommended reading : Top 30 Android Tools Every Developer should Know

Our goal is to support as many After Effects features as we possibly can, to allow for a lot more than simple icon animations. They’ve created a handful of other examples to show the library’s flexibility, richness, and deep feature set. In the sample app, there are also source files for a variety of different kinds of animations, including basic line art, character-based animations, and dynamic logo animations with multiple angles and cuts.

Now lets move to development!!

Source: Lottie - Convert Adobe After Effects to Kotlin

Boost Android Development using Top 30 Android Tools

In this article, I am going to share some of the best top 30 Android tools to improve your development productivity and build better applications. I have been personally using these tools for quite some time now and have found them to be really useful and satisfying.
These tools have helped me save a lot of precious time out from my day-to-day development life and have also helped me deliver significantly better and more high-quality apps.
So without wasting anytime, let’s jump in and discover a lot of new and

Awesome top 30 Android tools to develop Android apps like a pro.

An amazing tool for Android which can help you to track the overall performance of your app and get in-depth insights on various key performance metrics like FPS, memory usage, CPU usage, disk usage and much more from your live production app.
Top 30 Android Tools - #1 FlowUp
Top 30 Android Tools – #1 FlowUp
A powerful open-source debugging platform for Android, developed by Facebook. This tool makes debugging native Android apps as simple as debugging webpages using Chrome’s Developer Tools and helps perform various actions like checking the complete View hierarchy, inspect SQLite database, monitor network operations, etc. with ease.
Top 30 Android Tools - #2 Stetho
Top 30 Android Tools – #2 Stetho
We all get quite frustrated staring at the screen like a fool and waiting for Gradle builds taking forever to finish. But this awesome tool from JRebel comes to the rescue by drastically improving build times and making Android app development and debugging almost realtime.
Top 30 Android Tools - #3 JRebel for Android
Top 30 Android Tools – #3 JRebel for Android
If you are using Gradle as your build system in Android Studio, then you can add any external library in your project with just a single line of code. But how do you get that line quickly and easily? Here’s where this sweet little tool comes in handy.
Top 30 Android Tools - #4 Gradle Please
Top 30 Android Tools – #4 Gradle Please
An awesome collection of simple and easy-to-use tools to generate various types of icons (launcher, notification, generic, app shortcut icons) that you will need while designing and developing Android apps.
Top 30 Android Tools - #5 Android Asset Studio
Top 30 Android Tools – #5 Android Asset Studio
Full article: Top 30 Android Tools Every Developer should Know

Add Android Increment ProductView in your project?

I am glad for two great news first one is to launched Android Studio 3 with fully Kotlin support and other one is to get a new shopping project. You’ll think whats good in second news. Well the best thing is that i can use Increment ProductView library in this project.

Do you think what’s the difference in Increment ProductView library then firstly i’ll show you a demo.

Example of Android Increment ProductView

Implement Increment ProductView library in your project?


compile 'com.steelkiwi:increment-product-view:1.1.0'

Source: How to use Android Increment ProductView?

Latest features in Android Studio 3.0 Canary 6

The latest version available is Android Studio 3.0 Canary 6 and this page provides a summary of all the new features and changes. All these features are available in the latest canary release, and might not be available in the beta release channel yet.

What's new in Android Studio 3.0 Canary 6

Core IDE changes

  • They upgraded the base IDE from IntelliJ 2016.2 to 2017.1.2, which adds a number of new features in 2016.3 and 2017.1 — including parameter hints, semantic highlighting, instant results in search, and much more.
  • Many new lint checks.
  • Instant Run debug issue 234401 should now be resolved. If a program is paused on breakpoint, app restarting is expected. But if the app is not paused on a breakpoint, it shouldn’t restart and hot swap should work when you only make a method implementation change.

Kotlin language

Android Studio 3.0 includes support for the Kotlin language. You can incorporate Kotlin into your project by converting a Java file to Kotlin (click Code > Convert Java File to Kotlin File) or by creating a new Kotlin-enabled project using the New Project wizard. Learn more about Kotlin and Android.

Support for Java 8 language features

Android Studio 3.0 introduces built-in support for Java 8 libraries and certain Java 8 language features. Jack is no longer required, and you should first disable Jack to use the improved Java 8 support built into the default toolchain.

You must check : Android Studio Shortcut key every developer should know

Instant Apps support

Android Studio 3.0 allows you to create Instant Apps in your project using two new module types: Instant App modules and Feature modules.

Android Studio 3.0 also includes a new refactoring Modularize action and the App Links Assistant to help you implement Instant Apps.

Source: What's new in Android Studio 3.0 Canary 6

How to use Android Audio Widget Overlay View

Android Audio Widget Overlay View Example
Android Audio Widget Overlay View Example

You know, guys, we have become a bit obsessed with music recently. Since we wanted to create a companion to our equalizer and add to the collection of Android widgets, the idea to develop a nice and convenient audio widget was born almost immediately.

You must see : Crumbling Android Image Slider

So if you have already developed a music player and you feel that you want to make it even better, then you’re welcome to use this library and enjoy the results.

Let firstly show you the demo :

Gradle file

To start, you need to add the following dependency to your project in the build.gradle file:

dependencies {
    compile 'com.cleveroad:audiowidget:0.9.0'

Manifest file

As always, to make sure that no user’s data or any other application on a device would be impacted, we need to add two permissions to the app manifest:
<!-- used for drawing widget. This permission must be granted before calling -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

<!-- used for notifing user that he is about to remove widget when he drags it on remove widget icon. -->
<!-- This permission granted by default on Android 6.0+ devices. -->
<uses-permission android:name="android.permission.VIBRATE"/>

As you can see, the first one will help you draw a widget over other applications. The second one is needed to inform a user that he is about to make a widget disappear when dragging it to the remove icon at the bottom of the screen. Although, the latter is optional.
Source: Android Audio Widget Overlay View

Crumbling Image SlideView in Android

Here comes a new Android library for those who are tired of old boring image sliding in mobile apps. Bitutorial is a simple way to add a unique Android crumbling image SlideView transition between slides. Whether your application supports a sliding tutorial or image change feature, you certainly want to create a memorable experience.

Demo : Android Crumbling Image SlideView

Implement the Android Crumbling Image SlideView library

The implementation of our Bitutorial open-source library doesn’t require any special skills and knowledge. The first thing you have to do is to add dependency in build.gradle file.
dependencies {
compile 'com.cleveroad:splittransformation:0.9.0'
Source: Android Crumbling Image SlideView

Tinder like SwipeView in Android

Tinder like SwipeView in Android
Tinder like SwipeView in Android
Today many social networking apps are coming and one of that name Tinder i checked out and found SwipeView. And today i going to show you how you can also add Tinder like SwipeView in Android application.

This is a Android library named Shuffle which is an easy to use swiping-view for Android.

Free movements







Source: Add Tinder like SwipeView in Android

Android Test with Kotlin

Android Testing using Kotlin

Many developers are quite optimistic about Kotlin future for Android. It sounds so sweet: less verbose, more type-safety, zero-overhead null-safety, Java interop. But not everyone is ready to take a risk and start writing production code using new programming language. Indeed, it could be not mature enough and will add dependencies which increase method count of APK for more than 6.5K

But what if we’ll use Android testing using Kotlin?

Project setup

So we can setup Kotlin plugin and related libraries to be only in testCompile dependencies scope. Here is what we should set in build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile ''

testCompile 'junit:junit:4.12'
testCompile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_ver"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_ver"
Another important detail in build.gradle is setting proper source sets to make Kotlin tests folders visible to compiler and IDE.

Source: How to do Android Testing using Kotlin

How to use Android FabulousFilter with Floating Action Button

Concept of Android FabulousFilter
Concept of Android FabulousFilter

Today we are going to discuss about an amazing Android FabulousFilter library which makes animation of FloatingActionButton to BottomSheetDialog easy to implement.

I thought this pattern might be worth of your consideration. Within it, we can have as many tabs (each stands for separate column or data unit) as we need and when internal filtering adjustments don’t fit the section vertically, we can always scroll that down.

Source: Android FabulousFilter - Animate Filter with Floating Action Button