Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added startManagingCursor()

  • Loading branch information...
commit a4373919c3da59a090b3294a9b0a5ed8ecb6a8eb 1 parent ab509d6
Bala Subrahmanyam Varanasi authored
BIN  bin/BabyNamesApp.apk
Binary file not shown
BIN  bin/balu/android/CommonNames.class
Binary file not shown
BIN  bin/balu/android/UnCommonNames.class
Binary file not shown
BIN  bin/classes.dex
Binary file not shown
4 src/balu/android/CommonNames.java
@@ -19,6 +19,7 @@ protected void onCreate(Bundle savedInstanceState) {
19 19
20 20 cnTable.open();
21 21 Cursor c = cnTable.fetchAllCommonNames();
  22 + startManagingCursor(c);
22 23
23 24 if (c != null){
24 25 SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,
@@ -32,7 +33,8 @@ protected void onCreate(Bundle savedInstanceState) {
32 33
33 34 cnListView.setAdapter(adapter2);
34 35 }
  36 +
35 37 cnTable.close();
36   -
  38 +
37 39 }
38 40 }
1  src/balu/android/UnCommonNames.java
@@ -20,6 +20,7 @@ protected void onCreate(Bundle savedInstanceState) {
20 20
21 21 ucnTable.open();
22 22 Cursor c = ucnTable.fetchAllUnCommonNames();
  23 + startManagingCursor(c);
23 24
24 25 if (c != null){
25 26 SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,

0 comments on commit a437391

Please sign in to comment.
Something went wrong with that request. Please try again.