Blog List: Adding Fragments and Sorting

fragments and sorting

So far, the blog list example has assumed a single layout for all devices and orientations. Of course, we know that some phones are much larger than others, and tablets are larger than phones, and landscape vs portait orientations provide for very different amounts of screen real estate to work with. Having a single layout…

Read More

Blog List: Adding a Blog View Activity, Butterknife, and Dagger

blog list

Today I’ll be modifying the Blog List example to add a blog view activity, and utilizing Dagger for dependency injection and Butterknife for view injection. Also, if you’ve been following along with my Blog List series, you’ll noticed the code has gone through a bit of refactoring in this iteration. Specifically, I’ve gotten rid of…

Read More

Blog List Example with Volley

blog publish

In my previous iterations of the of the Blog List example, the BlogListService just returned a hardcoded list of BlogPost objects. In this post, we will actually retrieve the list of BlogPost objects from a restful JSON service. Ideally, you can eliminate much of the HTTP traffic by using some sort of a client side…

Read More

AsyncTaskLoader: Populate a Static List View

blog view

One of the first things I tried to do while developing an Android app is asynchronously populate a statically defined list view. This turned out to be a much more challenging task than I anticipated, and apparently nobody else on the entire world wide web is attempting to do this (or I just didn’t google…

Read More

Android with Maven

android program

Ever since making the switch from Ant to Maven 2 back in 2005, I’ve never looked back. So one of the first things I wanted to know was if I could use maven to build my Android apps. And of course, you can.

Read More