Skip to content

Instantly share code, notes, and snippets.

@alorma
Created February 13, 2014 22:49
Show Gist options
  • Save alorma/8985551 to your computer and use it in GitHub Desktop.
Save alorma/8985551 to your computer and use it in GitHub Desktop.
Android interface to implement Data model contracts
package com.alorma.changetheworld.bbdd;
import android.provider.BaseColumns;
/**
* Created by Bernat on 11/02/14.
*/
public interface Contract extends BaseColumns{
String create();
String alter(int oldVersion, int newVersion);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment