Posts
Checkable Views
·730 words·4 mins
After a month of not posting anything on here due to being busy, I’ve finally found a bit of time to write a new Snippet post. This post is all about Checkable, and how to properly implement the interface so that your views display as you expect them to.
ListView - Keeping Position
·243 words·2 mins
Last week Joaquim Verges asked me a question about ListView. I’ve finally got around to writing up this solution and post.
Android-PullToRefresh – Stopping Development
·110 words·1 min
Android-PullToRefresh was started about 18 months ago, as I needed it for a project (Friendcaster). Since then I’ve kept maintaining the project, pushing it forward and adding new features.
Snippet: Animated Action Bar Items
·495 words·3 mins
This snippet is taken from some of the code I’ve recently released in photup, and shows you how to make an Action Bar item more noticeable, allowing you to lead the user onto the correct path.
Android-BitmapCache v2.1
·192 words·1 min
Android-BitmapCache has version 2.1! Hopefully by now you should have heard about Android-BitmapCache (if you haven’t, have a look at this post here).
photup is now open source.
·261 words·2 mins
Early last year I bought myself an iPhone, to see what iOS is really like. By that I mean to see what the quality of iOS apps are compared to Android’s. One of the apps that I really liked during that time was Facebook’s Camera app, which was the inspiration for photup. Another reason I created photup was that it had been a while since I created something, at the time I was working on agency apps and I wanted to keep myself ‘fresh’.
Snippet: ImageView Layout Optimisation
·522 words·3 mins
Welcome to the second instalment of my new Android Snippet series. This one is a fairly short one as it points out an optimisation which was added in Android v4.0, but which can be easily backported to your applications for use in previous versions of Android.
Snippet: DateUtils
·297 words·2 mins
This is the first in a new series of posts I’m going to regularly publish (weekly-ish) of code snippets which could save you a lot of #AndroidDev time. The first of which is about one of my favourite classes in Android: DateUtils.
Android-BitmapCache… the rebirth.
·441 words·3 mins
A while ago I wrote Android-BitmapMemoryCache, a cache based off of LruCache which would cache Android Bitmap objects in memory in a clever way. You can get the full details from this earlier post, but the bottom line is that it knew when a Bitmap was no longer being used, and so would recycle it.
PhotoView v1.1
·545 words·3 mins
As you may or not know, I released a small library as part of the work I did for photup (it was actually created before that) which contained an ImageView which could be scaled, dragged and double-tapped. Even though I released it onto GitHub about 2 months ago, I haven’t really maintained it since. Until now. I’ve spent a good few days improving it, making it better and easier to use, and I think I’ve achieved both in today’s release: v1.1.