Android Tutorial – ListView with “sticky” headers

A simple example of usage for emilsjolander sticky headers list.

Read More

Android – Load drawables by name from resources

Sometimes you need to load some images knowing only their names - this is how to do it

Read More

Android tutorial – List Views with View Holder Pattern

View Holder Pattern applied on a classic Android ListView

Read More

Android tutorial – Screen with tabs and swipe – part III – Styling

The final part on swipeable tabs, now about styling!

Read More

Android tutorial – Screen with tabs and swipe – part II – AppCompat

Here we'll make our swipeable tabs compatible with older Android devices

Read More

Android tutorial – Screen with tabs and swipe – part I

This is how you can make an app with a screen using tabs and swipe.

Read More

Android – Threads Tutorial – Part 3

Today we’ll learn more about Handlers and Threads and we’ll have an example with a class inheriting Thread, using Messages and Handlers. This is gonna be a long post with lots of information, hopefully not overwhelming.

Read More

Android – Threads Tutorial – Part 2

Today we’ll focus on Threads creation and analyze an example of a local Thread instantiated in a method. First of all I want to make sure that we understand why and how we deal with Threads. We use Threads objects to start parallel execution lines. For this we need to “load” the Thread object with the behavior we want, meaning to provide a run() method for it, which contains that behavior.

Read More

Android – Threads Tutorial

Today we are going to talk about Threads in Android. I assume we all know what Threads are, what they do and where we can use them. Also I assume we know the basic Android applications, what Activities are and how we’re usually dealing with them. If not, take a little time to get used to them on the official development site.

Read More