Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Andorid: From Code to Store

187 views

Published on

Leverage the best Android Open Source libraries out there.
Sears.Israel - by Rom Shiri

Published in: Engineering
  • Be the first to comment

Andorid: From Code to Store

  1. 1. Android: From Code to Store Rom Shiri
  2. 2. Agenda ‣ Introduction to Android Libraries ‣ Networking ‣ Image Loading ‣ Dependency Injection ‣ Event Bus ‣ Debugging ‣ What’s Next?
  3. 3. Where is my standard library?!
  4. 4. “If you find yourself doing something by yourself, you’re probably doing it in the wrong way” - Somebody at Google’s Android team
  5. 5. Networking ‣ The standard way:
  6. 6. Retrofit by Square ‣ Turns your HTTP API into a Java interface ‣ Using GSON as JSON parser ‣ Stupidly easy to use http://square.github.io/retrofit/
  7. 7. Image Loading ‣ Images are not trivial: ‣ Memory consumption ‣ Network ‣ Main players: ‣ Picasso (Square) ‣ Glide ‣ Fresco (Facebook) ‣ UIImageLoader
  8. 8. Source: http://stackoverflow.com/questions/29363321/picasso-v-s-imageloader-v-s-fresco-vs-glide
  9. 9. Picasso by Square ‣ Lightweight ‣ Fluent API http://square.github.io/picasso/
  10. 10. Dagger by Square & Google ‣ Dependency Injection library ‣ Adopted by Google (Dagger vs Guice) ‣ Dagger 2 ‣ simple, traceable and performant http://google.github.io/dagger/
  11. 11. ButterKnife by Jake Wharton ‣ View binding framework ‣ Less boilerplate code With ButterKnife with without http://jakewharton.github.io/butterknife/
  12. 12. Otto by Square ‣ An enhanced event bus with emphasis on Android support ‣ Forked from Guava (Google’s Java Library) http://square.github.io/otto/
  13. 13. Stetho by Facebook ‣ A debug bridge for Android applications via Chrome Developer Tools ‣ Network Inspection ‣ View Hierarchy ‣ Database Inspection ‣ Javascript Console http://facebook.github.io/stetho/
  14. 14. What’s Next? ‣ Check out Square Open Source ‣ square.github.io ‣ “Must have libraries” on GitHub: ‣ https://github.com/codepath/ android_guides/wiki/Must-Have-Libraries ‣ Mobile Device Lab Stash ‣ https://stash.sears.co.il/projects/MDL
  15. 15. Happy Android Developing!

×