daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 43 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. fun getString(@StringRes resId: Int): String {
  2.     val context: Context? = SomeDependencyInjectionSystem()
  3.     return if (context == null) {
  4.       ""
  5.     } else {
  6.       context.getString(resId)
  7.     }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top