RichUtils / pyxis.uzuki.live.richutilskt.utils / android.content.Context / getExtension

getExtension

fun Context.getExtension(uri: String?): String

Gets the extension of a file name, like ".png" or ".jpg".