r/androiddev • u/rkcr • Jul 10 '13
Android development propaganda posters
http://imgur.com/a/Br6Qn9
3
5
u/ColdSnickersBar Jul 10 '13
Comments are lies.
1
u/thedroidproject Jul 11 '13
I think write your code as readable as possible or comment your comments would have been better.
0
3
Jul 10 '13
Aww, but these are just general development things. I want like "If you use a Toast, you're coding with Hitler!"
6
Jul 10 '13
Toast.makeText(Icannotfindthis.this, "I dont want to run", Toast.LENGTH_WHYEVENBOTHER).show();
4
u/stackTrase Jul 11 '13
Toasts are fine. No need to reinvent the wheel for showing short messages.
4
Jul 11 '13
They're pretty bad, actually. They stick around even if you transition screens, they're not actionable, and the fact that they're temporary means they're easily missed. I don't think there's a single use case where a Toast should be used over incorporating the message into your layout somehow. Croutons make a good replacement.
2
Jul 11 '13
Exactly. The only time I use toasts is when I am developing and I want to see if something starts running away from logcat
20
u/cornish_warrior Jul 10 '13
Would be nice to credit the original poster...
http://www.reddit.com/r/Android/comments/1i0rzb/i_designed_a_series_of_developer_android_prints/