FileUtil
object FileUtil
This class has method to help load static files, their contents and properties in android
Functions
Link copied to clipboard
This method loads a property value from a .config file in android assets
Link copied to clipboard
Link copied to clipboard
Method to read Json from file and return string
Link copied to clipboard
Method for returning all files in a dir
Link copied to clipboard
fun writeFileOnInternalStorage(context: Context, fileName: String, body: String = "", dirName: String)