List of usage examples for android.database.sqlite SQLiteDatabase beginTransactionWithListener
public void beginTransactionWithListener(SQLiteTransactionListener transactionListener)
From source file:Main.java
public static void beginTransactionNonExclusive(SQLiteDatabase db, SQLiteTransactionListener transactionListener) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { db.beginTransactionWithListenerNonExclusive(transactionListener); } else {/* ww w. ja va 2s .c om*/ db.beginTransactionWithListener(transactionListener); } }