content provider without database but saved cursors: can/need I close the queried cursor?
<p>I have question regarding using a content provider without a database.</p>

<p>This has a list/HashMap with matrixcursors.
When a query is being done on the content provider, the requested data is being returned by saying (this is pseudocode)</p>

<pre><code>MatrixCursor mc = someMap[2];
return mc;
</code></pre>

<p>What if the quering client closes the cursor?
I guess the cursor in someMap will also be closed, as the returned cursor is a reference to that object. Am I correct here?</p>

<p>Edit:</p>

<p>I am wondering if the getContentResolver() mechanism always takes care of a copy of the cursor, as query() is not a direct method call</p>
