mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-27 17:27:41 +01:00
remove the cursor extensions
This commit is contained in:
parent
4351803f77
commit
b2f9bbdf2c
@ -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…
x
Reference in New Issue
Block a user