Bug 891485 - Use SimpleCursorAdapter from Android's support library (r=margaret)
authorLucas Rocha <lucasr@mozilla.com>
Tue, 09 Jul 2013 23:26:05 +0100
changeset 151378 c2c9842f714215dae71cbfaa06a25bce7a95fbf6
parent 151377 b060b1c135c6fc0ef54a91db4ed828166f1e9a70
child 151379 9d72801295c50f992458d07f4cce9ee2a564431d
push idunknown
push userunknown
push dateunknown
reviewersmargaret
bugs891485
milestone25.0a1
Bug 891485 - Use SimpleCursorAdapter from Android's support library (r=margaret)
mobile/android/base/home/HistoryPage.java
mobile/android/base/home/LastTabsPage.java
--- a/mobile/android/base/home/HistoryPage.java
+++ b/mobile/android/base/home/HistoryPage.java
@@ -14,23 +14,23 @@ import org.mozilla.gecko.home.TwoLinePag
 import android.app.Activity;
 import android.content.ContentResolver;
 import android.content.Context;
 import android.content.res.Resources;
 import android.database.Cursor;
 import android.os.Bundle;
 import android.support.v4.app.LoaderManager.LoaderCallbacks;
 import android.support.v4.content.Loader;
+import android.support.v4.widget.SimpleCursorAdapter;
 import android.util.SparseArray;
 import android.view.View;
 import android.view.ViewGroup;
 import android.view.LayoutInflater;
 import android.widget.AdapterView;
 import android.widget.ListView;
-import android.widget.SimpleCursorAdapter;
 import android.widget.TextView;
 
 import java.util.Date;
 
 /**
  * Fragment that displays recent history in a ListView.
  */
 public class HistoryPage extends HomeFragment {
--- a/mobile/android/base/home/LastTabsPage.java
+++ b/mobile/android/base/home/LastTabsPage.java
@@ -21,23 +21,23 @@ import android.database.Cursor;
 import android.database.MatrixCursor;
 import android.database.MatrixCursor.RowBuilder;
 import android.graphics.Bitmap;
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.LoaderManager;
 import android.support.v4.app.LoaderManager.LoaderCallbacks;
 import android.support.v4.content.Loader;
+import android.support.v4.widget.SimpleCursorAdapter;
 import android.util.SparseArray;
 import android.view.View;
 import android.view.ViewGroup;
 import android.view.LayoutInflater;
 import android.widget.AdapterView;
 import android.widget.ListView;
-import android.widget.SimpleCursorAdapter;
 import android.widget.TextView;
 
 import java.io.ByteArrayOutputStream;
 import java.util.Date;
 
 /**
  * Fragment that displays tabs from last session in a ListView.
  */