private boolean importOldData() { boolean result = false; result = DB.getInstance(this).importOldData(ItemFactory.getFactory(this).getItems()); Log.d(TAG, "importOldData: " + result); return result; }
private boolean hasOldData() { boolean result = false; result = CollectionUtils.isNotEmpty(ItemFactory.getFactory(this).getItems()); Log.d(TAG, "hasOldData: " + result); return result; }