title: Kotlin / SQLite delete() in batch issue
body: <p>I would like to delete mutiple items from SQLite in batch basing on their ID column.</p>
  
  <p>What I have is a HashMap which contains objects which one of field is pID (unique ID in DB).</p>
  
  <p>So, here's my code:</p>
  
  <pre><code> /*
          Delete rows from DB
          */
          val selection = "${BaseColumns._ID} = ?"
  
          // Create a list of product ID's to delete
          val dbDeletor = dbHelper.writableDatabase
  
          // Temp array to store ID's in String format
          val tempIDs = ArrayList&lt;String&gt;()
  
          // Loop through array of items to be deleted
          for(i in ProductsRecyclerAdapter.productsToDeleteArray)
              tempIDs.add(i.value.pID.toString())
  
          // Perform deletion in DB
          val deletedRowsCount = dbDeletor.delete(ProductsEntry.TABLE_NAME, selection, tempIDs.toTypedArray())
  
          // Show snackbar with count of deleted items
          Snackbar.make(mainCoordinatorLayout, "Products deleted: $deletedRowsCount", Snackbar.LENGTH_SHORT).show()
  </code></pre>
  
  <p>Everything works great when I'm deleting only 1 item but if tempIDs array contains 2 or more I'm receiving following Exception:</p>
  
  <blockquote>
    <p>Too many bind arguments.  3 arguments were provided but the statement needs 1 arguments.</p>
  </blockquote>
  
  <p>Maybe the reason is that I'm converting pID of type Long into String in order to delete rows in batch? I did not find any other solution. Please take a look and comment.</p>