Query

Report a typo

Arrange these lines of code intended to output the table data from a ContentResolver.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                contentResolver.query(uri, arrayOf("*"), "name = ?", arrayOf(name), null)?.use { cursor ->
              
                while (cursor.moveToNext()) {
              
                }.joinToString())
              
                name + "=" + cursor.getString(i)
              
                println(cursor.columnNames.mapIndexed { i, name ->
              
                }
              
___

Create a free account to access the full topic