Upload

Loading...

ManagedActivity Overview

49 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 3, 2012

I... HATE... DatabaseObjectNotClosedExceptions. These are abstract Activity classes I created to help with Cursor and Database object states.

The standard "startManagingCursor()" method hasn't worked well with some implementations before, so I created this.

ManagedActivity closes and re-opens Database objects and Cursors for you, and ManagedListActivity adds to that by maintaining the scroll position when you navigate away and return. This isn't an end-all-be-all solution, it's just one that's worked for me. Hopefully it'll work for you too.

Project Files:
http://geerswitch.in/hotlink/Tutorial...

Loading...

Sign in to add this to Watch Later

Add to