src/main/java/de/blau/android/imageryoffset/ImageryOffsetDatabase.java
/**
     * Add a layer, will add coverage areas to the coverage table
     * 
     * @param db writable database
     * @param offset a Offset object
     */
Add a layer, will add coverage areas to the coverage table

@param db writable database
@param offset a Offset object
Add a layer will add coverage areas to the coverage table @param db writable database @param offset a Offset object
public static void addOffset(@NonNull SQLiteDatabase db, @NonNull ImageryOffset offset) {
        ContentValues values = getContentValuesForOffset(offset);
        try {
            db.insert(OFFSETS_TABLE, null, values);
        } catch (SQLiteConstraintException e) {
            Log.e(DEBUG_TAG, "Constraint exception " + e.getMessage());
        }
    }
public static void addOffset ( @ NonNull SQLiteDatabase db , @ NonNull ImageryOffset offset ) { ContentValues values = getContentValuesForOffset ( offset ) ; try { db . insert ( OFFSETS_TABLE , null , values ) ; } catch ( SQLiteConstraintException e ) { Log . e ( DEBUG_TAG , "Constraint exception " + e . getMessage ( ) ) ; } }
Add a layer, will add coverage areas to the coverage table
Add a layer will add coverage areas to the coverage table