How LastAdapter can remove RecyclerView and ViewHolder?

Is LastAdapter ending RecyclerView adapter and ViewHolder?
Is LastAdapter ending RecyclerView adapter and ViewHolder?
Almost every single app needs to show some collection of elements on the screen. In Android, the most efficient way to do it is using RecyclerView, a widget that can handle how the views representing those items are displayed on the screen. RecyclerView uses an adapter that tells which element from the collection is going to be shown on the screen at a certain position, which view is going to use and which views can be recycled.
Creating new views is a very expensive operation in Android and that’s the reason why we use ViewHolders. They allow us to recycle the views going outside the screen when we scroll and reuse them for the items that become visible again.
The ideas behind RecyclerView are simple and effective, but there’s one problem: you need to write an adapter for every collection of items you want to show, and a ViewHolder for every type of item your list can show.
Unless you’re trying to do something more complex like sticky headers or expandable views, the process of writing adapters and ViewHolders is going to be very repetitive. You need to implement methods like getItemCount() returning the number of elements in your collection. Isn’t it obvious that it should be the size of the collection? Usually, the only interesting thing is the way one item is bound to a ViewHolder and thus to its view. And actually, it isn’t so interesting: it probably only sets some strings into TextViews, uses URLs to load images into ImageViews and so on… Exactly the kind of things the Data Binding library does directly in the layout XML.
LastAdapter = RecyclerView + ViewHolder
So why end up writing a whole new adapter every time you want to show a collection of items? Wouldn’t it be cool to simply specify the list of elements you want to show, which item type will be represented by which layout and then use Data Binding to bind every item to its view? Well, that’s what I think and that’s why I’ve made a library that avoids me having to write adapters over and over again.
Features and full implementation : Is LastAdapter ending RecyclerView adapter?

Kotlin's 5 best things you probably don’t know

5 cool features of Kotlin
5 cool features of Kotlin
After starting my work on Kotlin, I realized that this language will change my life, and you know what? I was totally right. Here is my list of five less known things about Kotlin and I hope you will find at least three worth knowing.

Name your imports

In Kotlin, imports are used by the compiler to let you name your classes by their unqualified name.

Change companion object name

Companion object was introduced to replace static members. It is not only for declaring static properties but also to name them.

Compose functions

I bet you used function references before but have you ever tried to use them to compose functions? Imagine that you want to map an array of prices to prices that are taxed, discounted and rounded.

Change name of generated class

Extension functions are one of the most attractive features in Kotlin but using them in Java code can give you a serious headache. It is ugly and besides is nothing else like invoking a static method.

Validate an assignment and “veto” it

The way in which Kotlin handles delegation is pretty spectacular so if you are not familiar with it, you should totally check my article: “Zero boilerplate delegation in Kotlin”.

Full article here>>: 5 cool things you probably don’t know about Kotlin

Google Play like UI with RecyclerView Snapping Example

We all Android users has Google Play app in our mobile. And ofcourse you’ll see the amazing UI of that application. If you want to use that RecycleView design in your Android application. Then this tutorial is just for you where we discuss about RecyclerView Snapping library.

Lets complete our intro with an RecyclerView Snapping Example:

Google Play RecyclerView snapping example
Google Play RecyclerView snapping example
Hopefully you’ve probably already noticed this in the Google Play app and now lets begin the implementation of this library.

Source: Google Play like RecyclerView Snapping Example 

Kotlin 1.1.2 version launched with 15 features

Standard Library API in Kotlin 1.1.2 version

Previously we discuss some disadvantage of Kotlin and what bugs resolved in Kotlin 1.1.2 version.

New Standard Library API in Kotlin 1.1.2 version

Here we introduce new functions and classes that are going to be published in Kotlin 1.1.2 version.

takeIf() and also()

These are two general-purpose extension functions applicable to any receiver.

also is like apply: it takes the receiver, does some action on it, and returns that receiver.
The difference is that in the block inside apply the receiver is available as this,
while in the block inside also it’s available as it (and you can give it another name if you want).


One of the hottest features introduced in the first milestone of version 1.1 and redesigned in next ones are coroutines. It’s a mechanism that provides ability to improve asynchronous programming in Kotlin. The aim is to eliminate a well-known callback hell with suspended computation.


This API is to group a collection by key and fold each group in the same time. It consists of two parts: groupingBy function, and terminal operations — fold, reduce, eachCount.

First you invoke collection.groupingBy { key } function, which just returns a Groupinginstance binding the provided key selector to the collection of elements. Then you call one of folding operations available for Grouping, which iterates the collection and populates the resulting map with the result of folding elements in each group.

minOf() and maxOf()

These functions can be used to find the lowest and greatest of two or three given values, where values are primitive numbers or Comparable objects. There is also an overload of each function that take an additional Comparator instance, if you want to compare objects that are not comparable themselves.

Complete list with code snippet >> : Whats new features in Kotlin 1.1.2 version 

Kotlin disadvantage - 7 reason why i don't like it

Disadvantage of Kotlin
Although Kotlin is great, it’s not perfect. Here are a few aspects of the language that I’m not in love with. 

No static modifier

Following on the previous point, Kotlin has unusual handling of static function and property declarations that are called from Java. It’s not bad, but it feels dirtier than necessary.
Automatic conversion of Java to Kotlin
This was the first topic in the list of things I like about Kotlin, and it works well. But because it work so well 80% of the time, many of the cases where it fails can be frustrating.
No namespaces
Kotlin allows you to define functions and properties at the top level of your files. That’s a great feature, but it can cause some confusion when combined with the fact that all top level declarations are referenced unqualified from Kotlin.
Method count
Writing code in Kotlin will certainly reduce the number of lines of code in your project. But it will also probably increase the method count of the compiled code, which is of course a drawback if you’re using Android. There are a number of reasons for that, but one of the larger contributors is the way Kotlin implements properties.
Required property accessor syntax
Kotlin has the great syntactic sugar called “property accessor syntax” that allows you to call JavaBeans-style getters and setters as if they were a Kotlin property. So for example, you can call the Activity.getContext() method by writing activity.context instead of writing the whole method name. If you use the actual method call in Kotlin, you will get a lint warning telling you to use the property syntax instead.
Closed by default
Every downside to Kotlin I’ve talked about so far are mostly small syntax details that are not quite as clean I’d like, but aren’t a big deal overall. But there’s one design decision that is going to cause a huge amount of pain in the future: All classes and functions in Kotlin are closed by default.
Unit returning lambdas
This one is a really baffling design decision.
One of the best features of Kotlin is the way it embraces lambda functions. If you have a Java function that takes a SAM interface as a parameter (an interface with a Single Abstract Method).

Full article here >> Disadvantage of Kotlin : You must know before use

Facebook New Stories button for Android using PopupBubble Library

As a Android developer i also want this features for my Android application. If you’re in the line of my thought then this tutorial could help you more to implement Facebook like New Stories button in Android.

A library named PopupBubble can do this for you and easily Add “New Post” popup button with the feeds (RecyclerView) of your app.


Minimum sdk is 14 and support is limited to recyclerview for now.

Add With Gradle Dependency

compile 'com.webianks.library:popup-bubble:1.0.5'
Source: Add Facebook like New Stories button in Android » Tell Me How - A Place for Technology Geekier

How to add Infinite Cycle ViewPager in Android Application

The ViewPager is the widget that allows the user to swipe left or right to see an entirely new screen. In a sense, it’s just a nicer way to show the user multiple tabs. It also has the ability to dynamically add and remove pages (or tabs) at anytime. In our previous article we discuss about some other viewPager like :

And today we’ll discuss about infinite cycle ViewPager with two-way orientation and interactive effect. You can see demo here ;

Infinite Cycle ViewPager demo

Lets go with implementation of Infinite Cycle ViewPager


compile 'com.github.devlight:infinitecycleviewpager:1.0.2'
For full tutorial and source code  see the source:-

Source: Infinite Cycle ViewPager Android Library » Tell Me How - A Place for Technology Geekier

Android Side Menu Animation Library

Side menu animation is useful way to present option to the user and its easier than ever to add one to an app in Android. But if you use cool animation with that they will magnify your application in way of users.

So today we’ll discuss about such cool and amazing side menu animation library for Android.

Amazing Side Menu Animation Android Library

Implementing Side Menu animation library

First of all you have to upload animation submodule with git submodule update --initcommand

Or you can add gradle dependency with command :

dependencies {
            compile 'com.github.yalantis:Side-Menu.Android:1.0.1'
Recommended articles:

To add gradle dependency you need to open build.gradle (in your app folder,not in a project folder) then copy and add the dependencies there in the dependencies block;

Source: Amazing Side Menu Animation Android Library » Tell Me How - A Place for Technology Geekier

Fan Layout Manager Android Animation Library

Using Fan Layout Manager you can implement the horizontal list, the items of which move like fan blades (in a circular way of a radius to your choice). To give a slightly chaotically effect to the motion, it’s possible to set an angle for the list items. So, every implementation of the library can be unique.

Demo : Fan Layout Manager for Android

Since traditional view of the simple horizontal list isn’t impressive anymore, they decided to suggest vision adding some colours and a completely new motion path.
They gladly shares its creation with everyone who wants to add some visual spice to their Android apps.
Do you know about : Jelly Toolbar Animation

Source: Fan Layout Manager for Android » Tell Me How - A Place for Technology Geekier

ExpectAnim Android Kotlin Animation Library

ExpectAnim is a Android Kotlin library which give you support to describe your animation and run with Materialize design. If you’re not familiar with this new Android official language then you can see my some previous post:

Now come with this cool library and firstly you must see the demo which is given above:

ExpectAnim Kotlin Android Library

How to implement ExpectAnim in your application

In your module









compile 'com.github.florent37:expectanim:1.0.3'


<dependency org='com.github.florent37' name='expectanim' rev='1.0.3'>

<artifact name='expectanim' ext='pom' />

This code describe the image above

new ExpectAnim()
Source: ExpectAnim - Describe animation with Materialize » Tell Me How - A Place for Technology Geekier

What is Kotlin Anko? How it make development easier with Kotlin?

Kotlin Anko Tutorial
Kotlin Anko Tutorial
Kotlin Anko is a library which makes Android application development faster and easier. It makes your code clean and easy to read, and lets you forget about rough edges of the Android SDK for Java.

Anko consists of several parts:

  • Anko Commons: a lightweight library full of helpers for intents, dialogs, logging and so on;
  • Anko Layouts: a fast and type-safe way to write dynamic Android layouts;
  • Anko SQLite: a query DSL and parser collection for Android SQLite;
  • Anko Coroutines: utilities based on the kotlinx.coroutines library.
Source: What is Kotlin Anko? » Tell Me How - A Place for Technology Geekier

Android SpaceTabLayout Animation Tutorial

Android SpaceTabLayout Animation
Implementation of Android SpaceTabLayout Animation
Previously we discuss about toolbar animation which was a cool tutorial but today We discuss about SpaceTabLayout animation which is a awesome TabLayout for Android with a central Floating Action Button.

This is a custom implementation of a RelativeLayout that you can use along with a ViewPager to navigate between fragments.

Source: Android SpaceTabLayout Animation » Tell Me How - A Place for Technology Geekier

Deca core Features of mPhone 8 Specification

specification of mPhone 8
specification of mPhone 8mPhone 8 with Deca core Specification and Features
The mPhone 8 renders 1920 x1080 in 441 PPI LG made FHD LTPS OGS multi-touch display. Hid with 2.5D AGC Dragontrail™. The quality and clarity of the display in any light condition is remarkable.

The 8MP selfie camera which possess improved low light imaging technology. Capable of capturing 84⁰ wide angle selfie which also shows the best performance in video calling.

mPhone 8 is fitted with a 21 MP Sony IMX318 F2.0 Sensor autofocus camera which gives excellent image quality even in low-lighting, the two-tone flash can create natural lighting which helps you to freeze the moments in its perfect meaning.

Before buying any mobile phone you should need to know about which type of Mobile Processors is best. It contain the MT6797 Deca core 2.3 GHz. (Helio X20) processor and ARM Mali-T880. This is a premium performance based 4G LTE. The Tri-Cluster CPU architecture reduces processor power consumption, saving up to 30% more power compared to existing smartphones.

Source: mPhone 8 Specification and Deca core Features » Tell Me How - A Place for Technology Geekier