List of usage examples for android.database.sqlite SQLiteDatabase beginTransactionWithListenerNonExclusive
public void beginTransactionWithListenerNonExclusive(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 {/*from ww w . j a v a 2 s .c om*/ db.beginTransactionWithListener(transactionListener); } }