Hey all.

Sebastian reminded me the support library annotations [0], which can
greatly improve code correctness, are thing [1] and as it turns out, they
*just work* (nice work, Nick! :P). I'm implementing them for my new
DrawableUtil class in [2] if you want to see how they work.

For list of cool annotations:

   - @Nullable
   - @NonNull
   - @DrawableRes
   - @UiThread
   - @RequiresPermission
   - @CallSuper
   - @VisibleForTesting


For more information on annotations, see the docs [0].
- Mike

[0]: http://tools.android.com/tech-docs/support-annotations
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1189585#c5
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1189944
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to