Profile cover photo
Profile photo
Andy Dennie
172 followers -
Independent software developer & consultant, specializing in Android apps and Web APIs
Independent software developer & consultant, specializing in Android apps and Web APIs

172 followers
About
Andy's posts

Post has attachment
In this blog post, I describe how I implemented an alarm-driven Android widget for Shush! Ringer Restorer. Not as straightforward as I initially imagined...

Post has shared content
Our What's New in Android UI Engineering talk from #DroidconNYC  has been uploaded.

Slides: https://goo.gl/photos/9R6ss39caQHLyEmU6

+Nick Butcher +Roman Nurik 

Post has shared content

Post has attachment
This release includes two new injecting base classes: InjectingAppWidgetProvider InjectingActionBarActivity (suggested by Tyler Chesley) In addition, InjectingApplication was enhanced with a new addSeedModules() method to facilitate unit testing with…

Post has attachment
Initialize your Android component's dagger object graph on a per-method basis in your Robolectric tests

When writing unit tests for Android applications, my go-to tools are Robolectric, dagger, and Mockito.  The combination covers a lot of ground in terms of providing “stand ins” for a lot of Android system functionality and factoring out dependencies from…

Post has attachment
tip: to bind dagger singletons to a particular object graph scope, use injects=

If you want singleton semantics for injected objects, dagger offers two approaches – you can implement a @Singleton-annotated provider method, or you can implement an @Inject-annotated constructor in a @Singleton-annotated class. The latter approach is…

Post has attachment
Just a quick note for you fb-android-dagger users out there… I just released a new version of fb-android-dagger.  Pretty minor update, but a few things to note: I’ve updated the dagger dependency in the POM to version 1.2.1 (the latest).  There’s a 2.0…

Post has attachment
A while back, Square released a new dependency injection framework called dagger, emphasizing simplicity and performance (via compile-time code generation rather than runtime reflection). Dagger actually has no Android dependencies and thus can be used in…

Post has attachment
I watch a lot of lengthy YouTube videos, mostly instructional-type videos from Google Developer Advocates and the like, explaining how to use APIs, tools, etc. They’re good, but every time I look at one and see that it’s 45 minutes, … Continue reading →

Post has attachment
Pretty interesting infographic on choosing a crowdfunding site.  I hadn't heard of some of these.
Wait while more posts are being loaded