I have an activity with a spinner which loads a simpleCursorAdaptor. I call another class to return the cursor which is used by the simpleCursorAdaptor. I don't keep a class level variable of the cursor or adaptor.
When this activity closes down I want to close the cursor. Should I:
a) in the activitie's onDestroy() event, get the cursor from the spinner via the adaptor and close it there or
b) In the data handler class which generates the cursor in the first place