Posts by Kevin Rohr
Blog List: Adding 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 MoreBlog List: Adding a Blog View Activity, Butterknife, and Dagger
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 MoreBlog List Example with Volley
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 MoreExtending the BlogPost example with BindingAdapter
I’m going to extend the previous Blog Post List example to: Implement the new/bind patter and ViewHolder pattern by using a BindingAdapter Add a header row to our blog post list
Read MoreAsyncTaskLoader: Populate a Static List 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 MoreAndroid with Maven
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