caffeine
caffeine copied to clipboard
Use android resource annotations
-
@StringRes,@LayoutResetc should be used throughout. - Extend methods to accept res ids where views / strings are currently required:
- ViewUtils.hideView(view, R.id.my_layout);
- DialogUtils.quickDialog(context, R.string.my_string);
- ToastUtils.quickToast(context, R.string.my_string);
- ...
@brentwatson are you updating this library?
@luxnova ya, we need to give it some love soon.
@brentwatson hmm. I think I have some Util classes you might like for this.
@luxnova :+1: Just PR if you have something that you think fits.