mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
remove the cursor extensions
This commit is contained in:
parent
4351803f77
commit
b2f9bbdf2c
2 changed files with 1 additions and 7 deletions
|
@ -5,6 +5,7 @@ import android.content.Intent
|
||||||
import android.database.Cursor
|
import android.database.Cursor
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.provider.MediaStore
|
import android.provider.MediaStore
|
||||||
|
import com.simplemobiletools.commons.extensions.getStringValue
|
||||||
import com.simplemobiletools.commons.extensions.humanizePath
|
import com.simplemobiletools.commons.extensions.humanizePath
|
||||||
import com.simplemobiletools.gallery.activities.SettingsActivity
|
import com.simplemobiletools.gallery.activities.SettingsActivity
|
||||||
import com.simplemobiletools.gallery.helpers.Config
|
import com.simplemobiletools.gallery.helpers.Config
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
package com.simplemobiletools.gallery.extensions
|
|
||||||
|
|
||||||
import android.database.Cursor
|
|
||||||
|
|
||||||
fun Cursor.getStringValue(key: String) = getString(getColumnIndex(key))
|
|
||||||
|
|
||||||
fun Cursor.getLongValue(key: String) = getLong(getColumnIndex(key))
|
|
Loading…
Reference in a new issue