Meprofile_large

Rany Albeg Wein

Writing a basic RecyclerView.Adapter

and how it is similar to a typical getView() implementation

In my previous article, ListView and ViewHolder, I discussed about the ViewHolder pattern and how it should be combined to be a part of an adapter for a ListView, or more specifically - a part of an adapter's getView() method.
We had a simple model named Profile, which describes some basic information of a person. It has an image, a . . .

Read More

December 02, 2016

ListView and ViewHolder

Enhance ListView's performance to reduce strain from the UI thread

One of the main concerns an Android developer should have is reducing strain from the main thread, also known as the UI thread.

ListView is one of the most common views in Android and it is important to know how to write a fast adapter for it. One of the ways to enahnce your ListView performance is by using a ViewHolder pattern.

. . .

Read More

November 25, 2016

Archive