Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ノハナのアプリを爆速で動くようにした話

 ノハナのアプリを爆速で動くようにした話

Keishin Yokomaku

May 15, 2014
Tweet

More Decks by Keishin Yokomaku

Other Decks in Programming

Transcript

  1. ParseSDK Ͱඇಉظॲཧ ParseQuery<ParseObject> query = ParseQuery.getQuery(“SomeData”); query.findInBackground(new FindCallback<ParseObject>() { public

    void done(List<ParseObject> result, ParseException e) { if (e == null) { // Normal } else { // Error } } });
  2. ParseSDK ͰৼΔ෣͍Λ֦ு public class SomeData extends ParseObject { @Override public

    void saveInBackground(SaveCallback callback) { if (!isValidName()) { callback.done(new ParseException()); } super.saveInBackground(callback); } }