getPrefixList

open fun getPrefixList(ctx: Context, dirName: String, suffix: String, extension: String, excludingSuffix: String): List<String>

Get "short name" (prefix) of managed files with the given suffix and extension that live under dirName excluding the ones with excludingSuffix. Instead of the file names, we return the "short name" or prefix i.e. the part of the name before the suffix / extension.

Return

List of names