Last improvements
This commit is contained in:
parent
b7f14397e0
commit
fb5d207cac
|
@ -226,7 +226,6 @@ public class BookmarkActivity extends BaseActivity implements OnRetrieveFeedsInt
|
|||
statusListAdapter = new StatusListAdapter(RetrieveFeedsAsyncTask.Type.CACHE_BOOKMARKS, null, isOnWifi, statuses);
|
||||
lv_status.setAdapter(statusListAdapter);
|
||||
statusListAdapter.notifyDataSetChanged();
|
||||
textviewNoAction.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ public class SyncBookmarksAsyncTask extends AsyncTask<Void, Void, Void> {
|
|||
@Override
|
||||
protected Void doInBackground(Void... params) {
|
||||
SQLiteDatabase db = Sqlite.getInstance(contextReference.get(), Sqlite.DB_NAME, null, Sqlite.DB_VERSION).open();
|
||||
if( type == sync.EXPORT){
|
||||
if( type == sync.IMPORT){
|
||||
String max_id = null;
|
||||
do {
|
||||
APIResponse apiResponse = new API(contextReference.get()).getBookmarks(max_id);
|
||||
|
|
Loading…
Reference in New Issue