Profile

Cover photo
Chris Broadfoot
Works at Google
Attended University of New South Wales
Lived in Sydney
10,571 followers|638,206 views
AboutPostsPhotosYouTubeReviews

Stream

Chris Broadfoot

Shared publicly  - 
 
 
Fans of lipids and cutlery rejoice, Butter Knife v5.0 has been released! Read on and learn about what's new:

@InjectViews
Views are frequently operated on in groups as a result of some event. Text views animate in on new screens, input fields are enabled and disabled for network calls, etc. Group multiple views together using the @InjectViews annotation into a List or array for easy operation.

  @InjectViews({ R.id.first_name, R.id.last_name })
  List<TextView> nameViews;

ButterKnife.apply
Coupled with the aforementioned annotation to aggregate views, apply provides a concise way to operate on those groups of views at once.

  ButterKnife.apply(nameViews, DISABLE);
  ButterKnife.apply(nameViews, ENABLED, false)

The Action[1] and Setter[2] interfaces provide easy ways to define operations.

  static final Action<View> DISABLE = new Action<>() {
    @Override public void apply(View view, int index) {
      view.setEnabled(false);
    }
  }
  static final Setter<View, Boolean> ENABLED = new Setter<>() {
    @Override public void set(View view, Boolean value, int index) {
      view.setEnabled(value);
    }
  }

You can use Android's Property[3] with apply as well.

  ButterKnife.apply(nameViews, View.ALPHA, 0);

New multi-callback listeners
* @OnItemSelected for AdapterView.OnItemSelectedListener's onItemSelected callback.
* @OnPageChange for ViewPager.OnPageChangeListener's onPageChange callback.
* @OnTextChange for TextWatcher's onTextChange callback.

Each of these new listeners have multiple callback methods. Change which callback your method is being bound to by supplying a callback argument.

  @OnItemSelected(R.id.list)
  void onItemSelected(long id) {
    // ...
  }

  @OnItemSelected(value= R.id.list, callback = NOTHING_SELECTED)
  void onNothingSelected() {
    // ...
  }

Enjoy! And #DeathToBoilerplate !

* Website: http://jakewharton.github.io/butterknife/
* Changelog: https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md
* Javadoc: http://jakewharton.github.io/butterknife/javadoc/


[1]: http://jakewharton.github.io/butterknife/javadoc/butterknife/ButterKnife.Action.html
[2]: http://jakewharton.github.io/butterknife/javadoc/butterknife/ButterKnife.Setter.html
[3]: https://developer.android.com/reference/android/util/Property.html
5
2
Ian Douglas's profile photoEric Cochran's profile photo
Add a comment...

Chris Broadfoot

Shared publicly  - 
 
I hosted two interns this summer with +Anthony Morris  - check out their awesome work :-)
 
Marker clustering and heatmaps on Android
Check out new ways to visualize large amounts of geo data in your Android app. Read through the blog post for more info!
30
8
Masashi Katsumata's profile photoBenoit Billington's profile photoStephen Yuen's profile photoDamian Flannery's profile photo
2 comments
 
Yap...... thts good..... big up 4 u
Add a comment...

Chris Broadfoot

Shared publicly  - 
 
What is the best code review tool for GitHub projects?

The ideal tool would:
* have code reviews should happen on the pull-request level, not on an individual git commit level.
* provide diffs between subsequent commits added to the pull request.
* have a way to "resolve" comments added by reviewers, and show the reviewers a diff that illustrates that a fix was applied.
* auto-merge when a "LGTM" or approval is given by a project owner
7
1
Chris Broadfoot's profile photoOmer Younus's profile photoMark Derricutt's profile photoGabor Orosz's profile photo
6 comments
 
Meld
Add a comment...
 
Sarah wrote a great blog post on writing sample code for the Android Maps Utility Library
 
While creating some sample code this week, it struck me that it's an interesting process. So I've blogged about it. I'd love your additions to my jottings!
10
2
Rob G's profile photoDamian Flannery's profile photo
Add a comment...

Chris Broadfoot

Shared publicly  - 
 
Map pins.
12
Chris Broadfoot's profile photoTom Davies's profile photoNick Pelly's profile photoMichael Leverett Dorn's profile photo
5 comments
 
+Tom Davies the lighting engine is impressive
Add a comment...
In his circles
883 people
Have him in circles
10,571 people
 
 
Next time you're in India, find your way around popular malls and shopping centres more easily with indoor #GoogleMaps

See where indoor maps are available: goo.gl/TJ15mL.

iPhone users: Get the app at goo.gl/4oENi.
14
1
Augustine Correa's profile photo
Add a comment...

Chris Broadfoot

Shared publicly  - 
 
Hansel. So hot right now
 
Apparently the +Google Maps API Eng team is one of the hottest trends at local dining establishments.  Look who I spotted in the SF Chronicle +Enoch Lau  +James McGill +Dave Day +Dilshan Angampitiya +Luke Mahe +Chris Broadfoot +Marcelo Camelo +Mike Perrow +David Wang http://www.sfgate.com/restaurants/slideshow/21-trends-of-the-hottest-local-dining-and-78445/photo-5413034.php
7
ojo greatsamuel's profile photo
 
Thanks
Add a comment...
 
Today's Santa Tracker video is suuuuuper cute.

http://g.co/santatracker#/village/choir
28
5
Kasia Derc-Fenske's profile photoLuke Mahe's profile photo
Add a comment...

Chris Broadfoot

Shared publicly  - 
10
2
Mohit Sharma's profile photoSatish Dasyam's profile photoMatthew Sylva's profile photo
 
gread ad
Add a comment...

Chris Broadfoot

Shared publicly  - 
 
Love these slides on the Google Maps API from Android expert +Cyril Mottier 
 
Getting around with Google Maps Android API v2

Here are the slides from the talk I gave yesterday in Antwerp for   #Devoxx2013 .

The main purpose of this talk was to introduce some of the main features from Google Maps Android API v2. I gave some insights on how the framework works under the hood so that developers can understand what's going on internally and why some things cannot be easily implemented with Google Maps Android API v2. I also presented several nice tips and tricks that you may need when integrating maps inside your Android application.

https://speakerdeck.com/cyrilmottier/getting-around-with-google-maps-android-api-v2
6
Add a comment...
People
In his circles
883 people
Have him in circles
10,571 people
Work
Occupation
Developer Relations, Google
Employment
  • Google
    Developer Programs Engineer, 2010 - present
  • Atlassian
    Developer, 2008 - 2009
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Sydney
Story
Tagline
Google Developer Relations (Android Maps)
Introduction

Developer Relations, Google Maps APIs

Currently focused on Google Maps Android API.

Education
  • University of New South Wales
Basic Information
Gender
Male
We waited 45 minutes for the wrong pizza, service was very slow because all the staff were talking amongst themselves.
Public - a year ago
reviewed a year ago
Absolutely terrible service. Decent food. Would not recommend.
Public - 3 years ago
reviewed 3 years ago
2 reviews
Map
Map
Map