Code example for AtomicLong

Methods: set

	 * This shouldn't be called onOpen() or onCreate() because it will cause 
	 * a recursive database get. 
	private void ensureCount() { 
		if (!initialCount) {
			initialCount = true;
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// do nothing here for now 
	 * Adds a payload to the database 
	 * @param payload  
	public boolean addPayload(BasePayload payload) {
Connect your IDE to all the code out there  Get Codota for Java