ListView v. RecyclerView

ListView is the ancestor to RecyclerView. There were many things that ListView either didn’t do, or didn’t do well. If you were to gather the shortcomings of the listview and solved the problem by abstracting the problems into different domains you’d end up with something like the recycler view. Here are the main problem points with ListViews:

New Library Ascent For Easy Typeface Useage

Ascent Ascent is an Android library that simplifies applying custom fonts to TextViews and subclasses. Annotation processing is used to remove broilerplate from your code. See examples. Build Status Examples // Ascent can be used to pull out fonts by name from assets/fonts folder // 1) Add the @Font annotation and font key to the TextView, Button etc member variable …

Jitpack to the Rescue

I came across this cool service that packages git hub projects and allows you to easily include them via gradle or maven. You know all of those libraries on github that were never deployed to maven? They are no longer a problem. You only need to do two things: repositories { // add this maven url maven { url “https://jitpack.io” …

AndevCon Boston 2014

I had an amazing time presenting at AndevCon Boston 2014. I presented a tutorial on leveraging custom view groups. The slides and project can be found on github, here. While we didn’t get through the whole task we did cover the fundamentals of creating a custom view group. As well as the tools and tecniques for doing so. Here is …

Who’s There

Ingredients: Android Device with cameras and internet access and accelerometer Android Device with internet access Webserver for storing pictures Free Urban Airship Account Google Account (for using Google Cloud Messaging for Urban Airship) Wifi Something to attach the android device to the peep hole Problem: When I’m at home I’m usually in the living room. Due to the odd shape …

Angel Hack

Team Fashion Metric launched their first website during Angel Hack. It was an intense weekend for us as we got only a few hours of sleep. It was awesome. We had an amazing team. I had the pleasure of working with the talented programmerAzat Mardanov. While we weren’t selected as winners we were stoked that we got a first working …

Lean Startup Los Angeles

I attended Lean Startup Machine Los Angeles 2012. The purpose of lean startup is essentially to validate before building. The rational is that many startups fail to succeed because they don’t validate that their product/service solves a pain point for their target customers. As a developer I had to step back and resist the urge to start building. The class …

Motodev localization tool

I came across a post about a useful motorola localization tool for eclipse. First you have to download the MOTODEV studio. To install follow these directions: To Install (On OS-X): 1) Help > Install New Software 2) Paste this URL 3) Enter your free Motodev username and password 4) Select the Moto Dev Studio(As pictured) To Use: 1) First make …

Views and Animation Tips

I was working on some animations today and had a few problems. The first was an interesting scenario where I needed to get the height of an item that wasn’t going to be displayed when the screen first loaded. The problem was that any time I called the getHeight method I always got zero returned to me. After some hunting …

JS.LA Thumbnails from Videos using JS and HTML5

I was giving a lightning talk at the last JS.LA meetup. I was going to demo how to take a screen shot from a very clip. Unfortunately there was no audio so I didn’t get to show the Very Mary Kate presentation clip. The presentation was going specifically cover how to get a thumbnail from a video in html5 using …