예제 #1
0
  private boolean importOldData() {
    boolean result = false;

    result = DB.getInstance(this).importOldData(ItemFactory.getFactory(this).getItems());

    Log.d(TAG, "importOldData: " + result);

    return result;
  }
예제 #2
0
  private boolean hasOldData() {
    boolean result = false;

    result = CollectionUtils.isNotEmpty(ItemFactory.getFactory(this).getItems());

    Log.d(TAG, "hasOldData: " + result);

    return result;
  }