Bug 883300: BookmarksListView's minor documentation. [r=margaret]
authorSriram Ramasubramanian <sriram@mozilla.com>
Fri, 14 Jun 2013 12:14:46 -0700
changeset 143344 202981fc6c93a92e4ec42dd4b13f50055f7a2a7d
parent 143343 6cd11ae108b510c079347d326444ea0f984da7a9
child 143345 5b02134ccd2d6742ea0e8923c12435e151e98bd4
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs883300
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 883300: BookmarksListView's minor documentation. [r=margaret]
mobile/android/base/home/BookmarksListView.java
--- a/mobile/android/base/home/BookmarksListView.java
+++ b/mobile/android/base/home/BookmarksListView.java
@@ -22,25 +22,31 @@ import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
 import android.widget.AdapterView;
 import android.widget.ListView;
 import android.widget.SimpleCursorAdapter;
 
 import java.util.LinkedList;
 
+/**
+ * A ListView of bookmarks.
+ */
 public class BookmarksListView extends HomeListView
                                implements AdapterView.OnItemClickListener{
     
     public static final String LOGTAG = "GeckoBookmarksListView";
 
     private int mFolderId = Bookmarks.FIXED_ROOT_ID;
     private String mFolderTitle = "";
 
+    // A cursor based adapter.
     private BookmarksListAdapter mCursorAdapter = null;
+
+    // A background task to query the db.
     private BookmarksQueryTask mQueryTask = null;
 
     // Folder title for the currently shown list of bookmarks.
     private BookmarkFolderView mFolderView;
 
     public BookmarksListView(Context context) {
         this(context, null);
     }