Should getSystemService(...) result be cached?
<p>The documentation of <a href="http://developer.android.com/reference/android/content/Context.html#getSystemService%28java.lang.String%29" rel="nofollow"><code>getSystemService</code></a> advises to <strong>not share the service objects between various different contexts</strong>.</p>

<p>For a single context, is it preferable to cache the service object by assigning it to a instance field in <code>onCreate()</code> or it should be obtained at the time of use? What is the idiomatic usage?</p>
