philosophicalhacker.com
Why Having Global Static References to Application Contexts is Probably not the Best Idea · Philosophical Hacker
http://www.philosophicalhacker.com/2015/07/14/why-static-references-to-application-contexts-are-probably-not-the-best-idea
Why Having Global Static References to Application Contexts is Probably not the Best Idea. Jul 14, 2015. In my last post, I went over 6 things I wish I knew before I wrote my first Android app. One of the things I listed in that post was this:. Don’t have static references to Contexts. Note: Technically, you can hold a static reference to an application Context without causing a memory leak, but I wouldn’t recommend that you do that either. Mdash; Code Standards (@codestandards) February 24, 2015. 1 Clas...
philosophicalhacker.com
Introduction to RxJava for Android: The Talk · Philosophical Hacker
http://www.philosophicalhacker.com/2015/06/16/introduction-to-rxjava-for-android-the-talk
Introduction to RxJava for Android: The Talk. Jun 17, 2015. Earlier today, I gave my Intro To RxJava talk. I’m not thrilled at how clear I was at explaining certain aspects of RxJava, but here’s the video nonetheless. My talk starts at 28:32. Hopefully, I’ll do a better job when I finish the written version of this talk. If you want to hear a hilarious take down of the design of the new Pizza Hut app, check out Ian’s. Talk that happens before mine. Are the slides that I used. Proudly generated by HUGO.
philosophicalhacker.com
Making a TDD-based HackerNews client for Android · Philosophical Hacker
http://www.philosophicalhacker.com/2015/07/17/making-a-tdd-based-hackernews-client-for-android
Making a TDD-based HackerNews client for Android. Jul 17, 2015. I’m using TDD to write a HackerNews client for Android. This post (and the ones that will likely follow it) share a little bit about some of the techniques I used to follow a TDD-based work-flow for developing this application. It also discusses the architecture that arises when Android apps are built with testability in mind from the ground up. Testing a Walking Skeleton. Growing Object Oriented Software Guided by Tests. On Dagger modules t...
philosophicalhacker.com
Why Android Unit Testing Is So Hard (Pt. 2) · Philosophical Hacker
http://www.philosophicalhacker.com/2015/04/24/why-android-unit-testing-is-so-hard-pt-2
Why Android Unit Testing Is So Hard (Pt. 2). Apr 24, 2015. In the post that concludes this series. I point out that making unit testable Android apps does not require us to remove compile-time dependencies on the Android SDK and that attempting to do so is impractical anyway. Ignore anything in this post that suggests otherwise. In my last post. Method. I also gave a specific diagnosis for the untestability of. We can’t complete the arrange- and assert-steps of a test against. With those points in mind, ...
philosophicalhacker.com
6 Things I wish I Knew before I Wrote my first Android App · Philosophical Hacker
http://www.philosophicalhacker.com/2015/07/09/6-things-i-wish-i-knew-before-i-wrote-my-first-android-app
6 Things I wish I Knew before I Wrote my first Android App. Jul 9, 2015. My first app was terrible. It was so terrible, in fact, that I removed it from the store and I don’t even bother listing it on my resume’ anymore. That app wouldn’t have been so terrible if I knew a few things about Android development before I wrote it. Of course, if you’re doing your job right as a student of Android development, you’ll probably hate your app later regardless. As @codestandards says,. This might seem like an impos...
philosophicalhacker.com
An Introduction to RxJava for Android (Pt. 1) · Philosophical Hacker
http://www.philosophicalhacker.com/2015/06/12/an-introduction-to-rxjava-for-android
An Introduction to RxJava for Android (Pt. 1). Jun 12, 2015. I’m taking a brief break from talking about testing. I’ll resume my discussion of how I’m making Google’s IOSched app unit testable. After I’ve posted the content from my upcoming talk on RxJava. RxJava is a library that let’s you represent anything as an asynchronous data-stream that can be created on any thread, functionally transformed, and consumed by everyone on any thread. There are at least three characters entered into the. How many lin...
philosophicalhacker.com
MVPR: A Flexible, Testable Architecture for Android (Pt. 1) · Philosophical Hacker
http://www.philosophicalhacker.com/2015/07/07/mvpr-a-flexible-testable-architecture-for-android-pt-1
MVPR: A Flexible, Testable Architecture for Android (Pt. 1). Jul 7, 2015. Lately, I’ve been working towards making Google’s IO app unit testable. A part of the reason I’m doing this is to test the claims that Freeman and Pryce make in the above quotation about unit testing. Although I’m still not even done with refactoring one Activity in Google’s IOSched app, I’m already finding some truth to what they’re saying. That I’ve been working on is the. As I mentioned in the post that introduced this series.
philosophicalhacker.com
Introduction to RxJava for Android (Pt. 2) · Philosophical Hacker
http://www.philosophicalhacker.com/2015/06/19/introduction-to-rxjava-for-android-pt-2
Introduction to RxJava for Android (Pt. 2). Jun 19, 2015. I concluded my last post by summing up what we’ve seen so far and what we still need to understand about RxJava:. In this post, I’ll fill in the missing gaps in our understanding of my initial statement of what RxJava allows us to do. Recall that that initial statement was this:. The definition for an. Notice that an Iterator fits the definition of a data-stream. Its ordered data that can be processed by calling. All Collection classes can return ...