r/androiddev • • May 29 '15

New Google I/O 2015 Android Developer Guides

237 Upvotes

19 comments sorted by

8

u/shackyAak May 29 '15

Awesome, thanks for pulling this together.

3

u/cjrun Developer May 29 '15

Well there goes my only weekend off. Thanks! :p

3

u/dccorona May 30 '15

Glad to see data binding added...didn't see that one coming. It's very close to being as clean as the data binding in .NET, too, which is quite the achievement considering they built it in a way that's entirely backwards compatible with old SDKs (if you use AppCompat)

6

u/shvelo Tbilisi Bus May 29 '15

Why does Google keep adding stuff to Google Play Services and not support libraries? That's bad.

15

u/b1ackcat Developer - Checkbook Plus May 30 '15

I've been listening to the Android Developer podcasts recently, and they were interviewing the head of the Google Play Services team. They touched on how they make the distinction of what goes where. The gist of it came down to: GPS is for "google 'cloud-y' things" and support library is more for helping developers do more framework level "android" things.

2

u/beall49 May 30 '15

I already implemented swipe to refresh, has anything changed? It doesn't appear so?

2

u/RockoZZ May 30 '15

Thank you.

1

u/krialix May 29 '15

Thanks for your effort!

1

u/ASIC_SP indie game dev May 30 '15

Thanks a ton for this :)

1

u/warl0ck08 May 30 '15

It's also worth noting, so you don't want to punch yourself in the face. This exists.

@Override public void requestDisallowInterceptTouchEvent(boolean b) { // Nope. }

0

u/[deleted] May 29 '15

[deleted]

13

u/arcticblue May 30 '15

Why do you make yourself suffer with Eclipse? Android Studio in better is pretty much every way. I strongly recommend making the switch.

2

u/Iron_Maiden_666 CM11 May 30 '15

Android Studio in better is pretty much every way.

Except build times. Studio build times are ridiculous even with all the optimizations added in. Eclipse builds and puts it on to my device way faster.

1

u/arcticblue May 30 '15

Seems quick enough for me. If I clean the project and completely rebuild it can take a little longer, but subsequent builds are pretty quick. AFAIK, it's still running pretty much the same tasks to build in the background.

1

u/vvf May 30 '15

Is there anything actually better about eclipse?

4

u/arcticblue May 30 '15

Ummm....uhhh.... It's extensible? No, that's not it...it trying to be everything for everyone is part of the reason it sucks so much. Yeah, I'm drawing a blank here.

8

u/vvf May 30 '15

It's so terrible. It kept me from developing on android for years.

3

u/arcticblue May 30 '15

Same here. I tried a couple years ago and just couldn't put up with Eclipse. I gave Android dev another shot late last year when my job tasked me with making an Android app (I knew nothing about it, but they said "You're a fast learner, you can do it!"). Downloaded Android Studio and my entire opinion of Android development changed. The recent update with the CPU and memory monitor is pretty awesome and they keep adding some really great new features to it! I really enjoy it now. And I also have a good excuse to make my company buy me new Nexus devices (they even bought me a maxed out 5K display iMac to develop on. Amazing machine! ...now if only they would pay me a competitive salary...).

0

u/[deleted] May 30 '15

[deleted]

0

u/[deleted] May 30 '15

[deleted]

2

u/ganesh2shiv May 30 '15 edited May 30 '15

Lol really? I didn't know that. That's a nice TIL for me. I will check that out.

Yeah I did all those sort of weird Gradle optimizations but let's face it, it's still slow. I was reading a post couple of days back about building with Buck that sounded promising but I haven't tried it yet so can't comment on how good it is.