Android/Kotlin Get Directory of a File

August 11, 2020
val file = File("FILE_PATH")

val dir = File(file.getAbsolutePath())
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.