Upload

Loading...

This video is unavailable.

Watch Queue

TV Queue

Watch QueueTV Queue

    Loading...

Watch Queue
TV Queue
__count__/__total__

ManagedActivity Overview

Want to watch this again later?

Sign in to add this video to a playlist.
45 views

Like this video?

Sign in to make your opinion count.

Don't like this video?

Sign in to make your opinion count.

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Ratings have been disabled for this video.
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...

Loading...
Working...
to add this to Watch Later

Add to