Closed illuzor closed 7 years ago
I would like to propose two useful vals:
val isExternalStorageWritable get() = Environment.MEDIA_MOUNTED == Environment.getExternalStorageState() val isExternalStorageReadable get() = Environment.MEDIA_MOUNTED_READ_ONLY == Environment.getExternalStorageState() || externalStorageWritable
But I don`t know where to add them. I mean which file. Maybe create a new one?
Environment
inline
KEnvironment.kt
I would like to propose two useful vals:
But I don`t know where to add them. I mean which file. Maybe create a new one?