database - Android: cursor.getCount() -


i'm wondering if there alternative cursor.getcount() way expensive! goal run 1 query first, if cursor null or cursor.getcount() <=0 need run query.

but since underlying data can large, getting application not responding getcount() call. better solution it?

if cursor empty, movetofirst false


Comments

Popular posts from this blog

Admob integration with pygame in android -

Function that returns a formatted array in VBA -

gwt - Using Gin to Inject Multiple Views -