Endless or Infinite scrolling is called pagination. You do this in Android using RecyclerView. However, there are a few critical error scenarios to handle.
(more…)Author: Suleiman
-
Android Pagination: Using APIs with Retrofit and Gson
Let’s look at Android Pagination with
(more…)RecyclerView
, using real data from an API. This will give us a better understanding of Pagination. First, we’ll look at what API to use. Next, we will set up a networking library (Retrofit) that will help us perform these API calls. -
Pagination Android Tutorial with RecyclerView: Getting Started
Pagination (Endless Scrolling or Infinite Scrolling) is a feature common in content-heavy apps. It breaks down a list of content into equal smaller pieces, loaded one at a time.
(more…) -
Material Design Onboarding in Android- Quickstart (Tap Target)
There are 3 Material Design Onboarding models in Android. In this tutorial, we’ll learn about using the Quickstart model using TapTarget library.
This is part of the updated Material Design guidelines for apps. There are 3 types of Material Design onboarding models: (more…)
-
DayNight Theme Android Tutorial with Example
The DayNight Theme was added to AppCompat with the realease of Support Library v23.2.0. We can reference the theme using Theme.AppCompat.DayNight. DayNight theme allows to switch between light(day) and dark(night) themes, based on the time. Keep in mind that it supports API 14+. Any lower and it defaults to the Light theme. (more…)
-
Implement Parcelable to Bundle your POJOs
Every Android Developer is familiar with passing data via a
Bundle
orIntent
.In doing so, you would have wanted to pass your entire POJO (Plain Old Java Object) class,or
List<Bean>
. But Intent or Bundle don’t allow that right off the bat. The key lies in your Beans implementing Parcelable. (more…) -
Prepare your apps for Multi-Window in Android N
Android 7 Nougat introduced Multi-Window, a new feature that enables multi-tasking. In this post, let’s make or Android apps Multi-Window compatible.
Android Nougat brings in a host of improvements and changes. Many of you already know what’s new in Android N. So if we developers want to support the latest Android version, there’s more work cut out for us. (more…)
-
People API Android Tutorial – Part 2
Let’s look at using the People API in our Android app. We will see how it allows us to pull data from contacts, as well as data from their G+ profiles. All through the People API alone. (more…)
-
People API Android Tutorial – Part 1
Imagine having access to your contacts including data about them and their connections, via a single API? Combine the Contacts API and Google+ API and we have the People API. (more…)