How do you manage a cursor from a View class?

Put your problem here if it does not fit any of the other categories.

How do you manage a cursor from a View class?

Postby 5tray » Wed May 13, 2009 1:58 am

If i want to open and manage a cursor from an Activity class, no problem:

Cursor c = this.managedQuery( someUri, null, null, null, null );

But what's the best way when I'm inside a View class? or for that matter, any utility class that has a reference to an instance of Context?

TIA//
User avatar
5tray
Freshman
Freshman
 
Posts: 3
Joined: Tue May 05, 2009 12:21 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests