r/androiddev • • Jan 26 '17

Casual Found this comment deep inside the code of ProgressBar

Post image
250 Upvotes

45 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 27 '17

[deleted]

1

u/Arkanta Jan 27 '17

Not always, and not every usage of goto is bad. It often does though.

I'm arguing specifically about LayerDrawable: its use in the framework does not warrant a generic "isLayered()" property as every layered drawable is based on that specialized class, which should not bloat the general Drawable one.

0

u/[deleted] Jan 27 '17

[deleted]