Categories
Studio

Facebook Rebound with RecyclerView Items – The Best Spring Animation

If you see Facebook’s profile on Github, you’ll find quite a lot of libraries from them. One of them is Rebound. Facebook explains this library as: Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application. To get my hands on this library, I implemented […]

Categories
Studio

RecyclerView Swipe to Delete – Weekly Series (Day5)

Welcome to the day 5 of RecyclerView weekly series. Today we’ll learn how to implement swipe to delete functionality to your app’s RecyclerView (or CardView). We are following SSCCE guidelines to write short, self-contained, correct (compatible) example. All you need to do is initialize ItemTouchHelper.SimpleCallBack. This callback has two parameters: dragDirs and swipeDirs. We will […]

Categories
Studio

Endless Scrolling in RecyclerView (with JSON)- Weekly Series (Day4)

Those who are working with JSON and RecyclerView need endless scrolling for their app. It’s better to load the data automatically then showing pagination to the user, UX you know. Actually, this thing is very easy to implement. You just need to add a scroll listener to your RecyclerView so that we can know when […]

Categories
Studio

RecyclerView with Multiple View Types – Weekly Series (Day3)

The day3 post is here and as mentioned in the day1 post that I’ll cover a complex layout very soon, so here it is. In this tutorial, we will see how to add multiple view types to a single item in RecyclerView. The simplest example had only one item in RecyclerView viz. String. In case […]

Categories
Studio

RecyclerView – The Easiest Approach (Weekly Series – Day1)

Weekly Series (Guides) This is the first guide in this series. What a beautiful start to the development (Studio) part of this blog. Though RecyclerView tutorials are already there on the web (including the official one) and I am going to share the easy to implement approach with you. I have learned from my few […]